Skip to content

Commit fbf4a5c

Browse files
committed
update to node 18+, electron builder update
1 parent 402f830 commit fbf4a5c

File tree

6 files changed

+334
-2095
lines changed

6 files changed

+334
-2095
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
# "ref" specifies the branch to check out.
2323
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
2424
ref: ${{ github.event.release.target_commitish }}
25-
- name: Use Node 16
25+
- name: Use Node 18
2626
uses: actions/setup-node@v3
2727
with:
28-
node-version: '16.14.2'
28+
node-version: '18.18.0'
2929
# Specifies the registry, this field is required!
3030
registry-url: https://registry.npmjs.org/
3131
- run: yarn install --frozen-lockfile

client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
"tsc-alias": "^1.2.0",
134134
"tslib": "^2.6.2",
135135
"typescript": "~4.3.5",
136-
"vue-cli-plugin-electron-builder": "^2.1.1",
136+
"vue-cli-plugin-electron-builder": "^v3.0.0-alpha.4",
137137
"vue-cli-plugin-vuetify": "^2.4.3",
138138
"vue-jest": "^3.0.7",
139139
"vue-template-compiler": "^2.7.16",

client/vue.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ module.exports = {
6565
// https://github.com/nklayman/vue-cli-plugin-electron-builder/pull/1088
6666
rendererProcessFile: 'platform/desktop/main.ts',
6767
// https://www.electron.build/configuration/configuration
68+
customFileProtocol: './',
6869
builderOptions: {
6970
appId: 'com.kitware.viame',
7071
productName: 'DIVE-Desktop',
@@ -83,7 +84,7 @@ module.exports = {
8384
extraMetadata: {
8485
// https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/188
8586
// https://github.com/electron-userland/electron-builder/issues/2592
86-
main: 'background.js',
87+
main: 'index.js',
8788
name: 'DIVE-Desktop'
8889
},
8990
linux: {

0 commit comments

Comments
 (0)