electron - used version 13 (modules 89) as it seems to be supported by node-abi

This commit is contained in:
Jan Prochazka 2021-12-28 17:41:16 +01:00
parent 66cac0665d
commit 4a495377fd
2 changed files with 32 additions and 648 deletions

View File

@ -95,16 +95,15 @@
"build:mac": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && node setMacPlatform x64 && yarn dist && node setMacPlatform arm64 && yarn dist", "build:mac": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && node setMacPlatform x64 && yarn dist && node setMacPlatform arm64 && yarn dist",
"build:local": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && yarn predist", "build:local": "cd ../packages/api && yarn build && cd ../web && yarn build && cd ../../app && yarn predist",
"postinstall": "yarn rebuild && patch-package", "postinstall": "yarn rebuild && patch-package",
"rebuild": "electron-rebuild -f -v 15.3.4", "rebuild": "electron-builder install-app-deps",
"predist": "copyfiles ../packages/api/dist/* packages && copyfiles \"../packages/web/public/*\" packages && copyfiles \"../packages/web/public/**/*\" packages && copyfiles --up 3 \"../plugins/dist/**/*\" packages/plugins" "predist": "copyfiles ../packages/api/dist/* packages && copyfiles \"../packages/web/public/*\" packages && copyfiles \"../packages/web/public/**/*\" packages && copyfiles --up 3 \"../plugins/dist/**/*\" packages/plugins"
}, },
"main": "src/electron.js", "main": "src/electron.js",
"devDependencies": { "devDependencies": {
"copyfiles": "^2.2.0", "copyfiles": "^2.2.0",
"cross-env": "^6.0.3", "cross-env": "^6.0.3",
"electron": "15.3.4", "electron": "13.6.3",
"electron-builder": "22.14.5", "electron-builder": "22.14.5"
"electron-rebuild": "^3.2.5"
}, },
"optionalDependencies": { "optionalDependencies": {
"better-sqlite3": "7.4.5", "better-sqlite3": "7.4.5",

File diff suppressed because it is too large Load Diff