From: Kilian Saffran Date: Fri, 5 Jul 2019 16:22:46 +0000 (+0200) Subject: auto commit on 2019-07-05 18:22 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=HEAD;p=creorga_mini.git auto commit on 2019-07-05 18:22 --- diff --git a/index.html b/index.html index 73159b2..4466421 100644 --- a/index.html +++ b/index.html @@ -18,17 +18,17 @@ @@ -47,7 +47,7 @@ - + diff --git a/main.js b/main.js index 17d57ce..40e1e4e 100644 --- a/main.js +++ b/main.js @@ -8,8 +8,6 @@ var child = require('child_process').execFile; // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. let mainWindow -let userdatapath = app.getPath('userData'); - function createWindow () { // Create the browser window. @@ -17,10 +15,10 @@ function createWindow () { var parameters = []; if (os.platform() == "win32"){ executablePath = "C:\\Strawberry\\perl\\bin\\perl.exe"; - parameters = ["C:\\Users\\ksaff\\Workspace\\DKSService\\dkslocalserver.pl"]; + parameters = ["C:\\Users\\ksaff\\Workspace\\dks_server\\dkslocalserver.pl"]; } else { //os.platform() == "darwin" executablePath = "/Users/kilian/perl5/perlbrew/perls/perl-5.28.1/bin/perl"; - parameters = ["/Users/kilian/Workspace/DKSService/dkslocalserver.pl"]; + parameters = ["/Users/kilian/Workspace/dks_server/dkslocalserver.pl"]; } mainWindow = new BrowserWindow({ @@ -38,8 +36,9 @@ function createWindow () { if(err){ console.error('stderr',err); } else { - - + // var test = app.getPath('USERPROFILE'); + // console.log("Path:" + test); + // console.log(data.toString()); win.show() } @@ -47,7 +46,7 @@ function createWindow () { mainWindow.show() // Open the DevTools. mainWindow.webContents.openDevTools() - + // Emitted when the window is closed. mainWindow.on('closed', function () { // Dereference the window object, usually you would store windows @@ -57,6 +56,7 @@ function createWindow () { }) } + // This method will be called when Electron has finished // initialization and is ready to create browser windows. // Some APIs can only be used after this event occurs. diff --git a/modules/accounting/accounting.html b/modules/accounting/accounting.html deleted file mode 100644 index be04fec..0000000 --- a/modules/accounting/accounting.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - - - Décompte - - - - - - - - - - - - - - - - - - - -
-
-
- du mois: - - -
- - - - - - -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - diff --git a/modules/accounting/accounting.xul b/modules/accounting/accounting.xul deleted file mode 100644 index 4ad1aed..0000000 --- a/modules/accounting/accounting.xul +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - diff --git a/modules/accounting/accountingchild.html b/modules/accounting/accountingchild.html deleted file mode 100644 index 6ff7f84..0000000 --- a/modules/accounting/accountingchild.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - Décompte Enfant - - - - - - - - - - - - - - - - - - - -
-
-
- du année: - - -
-
- du enfant: - -
- - -
-
-
-
-
- -