Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/xmldom/xmldom-0.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeBron authored Sep 1, 2023
2 parents 61c0b7a + 5d935fe commit 5ee9595
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 30 deletions.
7 changes: 7 additions & 0 deletions assets/js/bootstrap.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions fouilles.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const path = require('path');
const path = require('node:path')

const { rejects } = require('assert')

const initApp = () => {
const db = require('electron-db')
const path = require('path')
const path = require('node:path')
const location = path.join(__dirname, './')
const selectAnnee = document.getElementById('annee')
const selectCategorie = document.getElementById('categorie')
Expand Down
2 changes: 1 addition & 1 deletion loadCarroyageWindow.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<link rel="stylesheet" href="./assets/css/bootstrap-theme.css">
<script src="./assets/js/bootstrap.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./fouilles.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion loadDataWindow.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<link rel="stylesheet" href="./assets/css/bootstrap-theme.css">
<script src="./assets/js/bootstrap.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./fouilles.js"></script>
Expand Down
22 changes: 15 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
const electron = require('electron')
const {
app,
BrowserWindow,
Menu,
ipcMain
} = require('electron')
const url = require('url')
const path = require('path');
const { app, BrowserWindow, Menu, ipcMain } = electron
const path = require('path')

// Set environment
process.env.NODE_ENV = 'production'
Expand All @@ -18,7 +22,8 @@ app.on('ready', () => {
width: 1200,
height: 1024,
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
// Load html into window
Expand Down Expand Up @@ -46,7 +51,8 @@ const createHelpWindow = () => {
height: 600,
title: 'Aide',
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
helpWindow.loadURL(url.format({
Expand All @@ -67,7 +73,8 @@ const createLoadDataWindow = () => {
height: 600,
title: 'Chargement',
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
loadDataWindow.loadURL(url.format({
Expand All @@ -88,7 +95,8 @@ const createLoadCarroyageWindow = () => {
height: 600,
title: 'Chargement',
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
})
loadCarroyageWindow.loadURL(url.format({
Expand Down
2 changes: 1 addition & 1 deletion mainWindow.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head><meta charset="utf-8" />
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<link rel="stylesheet" href="./assets/css/bootstrap-theme.css">
<script src="./assets/js/bootstrap.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>

<script src="./fouilles.js"></script>
<title>Corroyage de Morimond</title>
Expand Down
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ee9595

Please sign in to comment.