diff --git a/README.md b/README.md index 390d2c0..d700121 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,15 @@ After that you can run it directly with ``npm run start`` -You can also create an executable for your platform by running +or prepare the app for publishing by running + +``npm run make`` + +After that you can create an executable for your platform by running ``npm run publish`` -Or create specific executables by running +or create specific executables by running ``npm run publish-mac`` diff --git a/dist/index.js b/dist/index.js index e60cd90..3a0fe28 100644 --- a/dist/index.js +++ b/dist/index.js @@ -57,7 +57,7 @@ var createWindow = function () { // and load the index.html of the app. mainWindow.loadFile(path.join(__dirname, '../src/index.html')); // Open the DevTools. - mainWindow.webContents.openDevTools(); + //mainWindow.webContents.openDevTools(); electron_1.ipcMain.handle("showFileSaveDialog", function (e, message) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { switch (_a.label) { diff --git a/dist/index.js.map b/dist/index.js.map index 0eabbdc..6c8c748 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAA8D;AAC9D,2BAA6B;AAE7B,8EAA8E;AAC9E,IAAI,OAAO,CAAC,2BAA2B,CAAC,EAAE;IACxC,qCAAqC;IACrC,cAAG,CAAC,IAAI,EAAE,CAAC;CACZ;AAED,IAAM,YAAY,GAAG;IACnB,6BAA6B;IAC7B,IAAM,UAAU,GAAG,IAAI,wBAAa,CAAC;QACnC,MAAM,EAAE,GAAG;QACX,KAAK,EAAE,IAAI;QACX,cAAc,EAAE;YACd,eAAe,EAAE,IAAI;YACrB,gBAAgB,EAAE,KAAK;YACvB,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC;SAC5C;KACF,CAAC,CAAC;IAEH,sCAAsC;IACtC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,CA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DAAwD;AACxD,yDAAyD;AACzD,sDAAsD;AACtD,cAAG,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;AAE9B,wEAAwE;AACxE,0EAA0E;AAC1E,2BAA2B;AAC3B,cAAG,CAAC,EAAE,CAAC,mBAAmB,EAAE;IAC1B,sCAAsC;IACpC,cAAG,CAAC,IAAI,EAAE,CAAC;IACb,GAAG;AACL,CAAC,CAAC,CAAC;AAEH,cAAG,CAAC,EAAE,CAAC,UAAU,EAAE;IACjB,gEAAgE;IAChE,4DAA4D;IAC5D,IAAI,wBAAa,CAAC,aAAa,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE;QAC9C,YAAY,EAAE,CAAC;KAChB;AACH,CAAC,CAAC,CAAC;AAEH,4EAA4E;AAC5E,sEAAsE"} \ No newline at end of file diff --git a/package.json b/package.json index f87f3f8..99ff628 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "start": "tsc && electron-forge start", "package": "electron-forge package", - "make": "electron-forge make", + "make": "electron-forge make --arch=x64 ", "publish": "electron-forge publish --arch=x64", "publish-mac": "electron-forge publish --arch=x64 --platform darwin", "publish-windows": "electron-forge publish --arch=x64 --platform win32",