Don't open webtools
MODIFY
.gitignore
.gitignore
@@ -242,3 +242,5 @@ ModelManifest.xml
.fake/
Wallets
/src/HiddenWallet/Config.json
+/dist
+/dist

MODIFY
HiddenWallet/HiddenWallet.GUI/main.js
HiddenWallet/HiddenWallet.GUI/main.js
@@ -22,9 +22,6 @@ function createWindow() {
slashes: true
}));
- // 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

MODIFY
HiddenWallet/HiddenWallet.GUI/package.json
HiddenWallet/HiddenWallet.GUI/package.json
"name": "nopara73"
},
"devDependencies": {
- "electron": "^1.6.5"
+ "electron": "^1.6.5",
+ "electron-builder": "^17.0.1"
},
"dependencies": {
"angular": "^1.6.4"
},
"scripts": {
- "start": "electron ."
+ "start": "electron .",
+ "dist": "build"
+ },
+ "build": {
+ "appId": "hidden-wallet",
+ "directories": {
+ "output": "../../dist"
+ },
+ "extraResources": {
+ "from": "../HiddenWallet.API/bin/dist/",
+ "to": "HiddenWallet.API/bin/dist/",
+ "filter": [
+ "**/*"
+ ]
+ },
+ "mac": {
+ "category": "bitcoin-wallet"
+ },
+ "win": {
+ "target": [
+ "nsis"
+ ]
+ }
}
}

Don't open webtools