Skip to content

Commit a3adf39

Browse files
committed
chore: fix electron build
1 parent 0361da6 commit a3adf39

3 files changed

Lines changed: 251 additions & 19 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fetch-depth: 0
2424
- uses: actions/setup-node@v2
2525
with:
26-
node-version: 20
26+
node-version: 22
2727
- run: yarn install --frozen-lockfile
2828
# make sure the ipfs executable is executable
2929
- run: node electron/download-ipfs && sudo chmod +x bin/linux/ipfs
@@ -54,7 +54,7 @@ jobs:
5454
fetch-depth: 0
5555
- uses: actions/setup-node@v2
5656
with:
57-
node-version: 20
57+
node-version: 22
5858

5959
# install missing dep for sqlite
6060
- run: python3 -m ensurepip
@@ -90,7 +90,7 @@ jobs:
9090
fetch-depth: 0
9191
- uses: actions/setup-node@v2
9292
with:
93-
node-version: 20
93+
node-version: 22
9494
- run: yarn install --frozen-lockfile
9595
- run: yarn build
9696
- run: yarn electron:build:windows
@@ -125,7 +125,7 @@ jobs:
125125
gradle-version: 7.6
126126
- uses: actions/setup-node@v2
127127
with:
128-
node-version: 20
128+
node-version: 22
129129
- run: sudo apt install -y apksigner zipalign
130130

131131
# build react app

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
"cross-env": "7.0.3",
6868
"cz-conventional-changelog": "3.3.0",
6969
"decompress": "4.2.1",
70-
"electron": "36.7.3",
71-
"electron-builder": "26.0.12",
7270
"eslint": "9.30.1",
7371
"eslint-plugin-react-hooks": "5.2.0",
7472
"eslint-plugin-react-refresh": "0.4.20",
@@ -80,7 +78,10 @@
8078
"vite": "7.0.4",
8179
"vite-plugin-node-polyfills": "0.24.0",
8280
"vite-plugin-pwa": "1.0.2",
83-
"wait-on": "7.0.1"
81+
"wait-on": "7.0.1",
82+
"@electron/rebuild": "4.0.1",
83+
"electron": "36.4.0",
84+
"electron-builder": "26.0.12"
8485
},
8586
"main": "electron/main.js",
8687
"build": {

0 commit comments

Comments
 (0)