diff --git a/app/electron/tsconfig.json b/app/electron/tsconfig.json index 970912f2..1e6dbc6c 100644 --- a/app/electron/tsconfig.json +++ b/app/electron/tsconfig.json @@ -4,7 +4,8 @@ "module": "commonjs", "allowJs": false, "noEmit": false, - "outDir": "../public" + "outDir": "../public", + "removeComments": true }, "include": ["**/*"] } diff --git a/app/package.json b/app/package.json index f5b3b16a..b4a49892 100644 --- a/app/package.json +++ b/app/package.json @@ -101,7 +101,7 @@ "@types/react-router-dom": "^5.1.5", "@types/styled-components": "^5.1.0", "@types/uuid": "^8.0.0", - "electron": "^8.2.5", + "electron": "^9.0.4", "electron-builder": "^22.6.1", "say": "^0.16.0", "semantic-release": "^17.0.7", diff --git a/app/public/preload.js b/app/public/preload.js index 7ad45fed..1004d9f0 100644 --- a/app/public/preload.js +++ b/app/public/preload.js @@ -9,7 +9,6 @@ var __spreadArrays = (this && this.__spreadArrays) || function () { Object.defineProperty(exports, "__esModule", { value: true }); var electron_1 = require("electron"); var helpers_1 = require("./helpers"); -// https://github.com/electron/electron/issues/9920#issuecomment-575839738 electron_1.contextBridge.exposeInMainWorld("electron", { send: function (channel) { var args = []; diff --git a/app/yarn.lock b/app/yarn.lock index c9587f5b..5fe6611a 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -4895,10 +4895,10 @@ electron-updater@^4.3.1: lodash.isequal "^4.5.0" semver "^7.1.3" -electron@^8.2.5: - version "8.3.0" - resolved "https://registry.yarnpkg.com/electron/-/electron-8.3.0.tgz#c2b565a4c10d6d287d20164bcd5a478468b940a9" - integrity sha512-XRjiIJICZCgUr2vKSUI2PTkfP0gPFqCtqJUaTJSfCTuE3nTrxBKOUNeRMuCzEqspKkpFQU3SB3MdbMSHmZARlQ== +electron@^9.0.4: + version "9.0.4" + resolved "https://registry.yarnpkg.com/electron/-/electron-9.0.4.tgz#5aa72c1576c82c19f6e087311ffe1d7b74358d25" + integrity sha512-QzkeZNAiNB7KxcdoQKSoaiVT/GQdB4Vt0/ZZOuU8tIKABAsni2I7ztiAbUzxcsnQsqEBSfChuPuDQ5A4VbbzPg== dependencies: "@electron/get" "^1.0.1" "@types/node" "^12.0.12"