fix(release): resolve build failures for v0.6.3

Fix Android Capacitor compatibility by downgrading tar to 6.2.1. Add Windows-specific icon file for Squirrel installer. Update electron-forge to 7.8.0 and change DMG format to ULFO for macOS Sequoia compatibility. Add retry logic for transient SSL errors on Mac Intel runners.
This commit is contained in:
plebeius
2026-01-30 15:26:17 +08:00
parent 50ee10cbc9
commit 01bda3bffb
4 changed files with 14 additions and 9 deletions
+6 -1
View File
@@ -89,7 +89,12 @@ jobs:
- run: pip install setuptools - run: pip install setuptools
- name: Install dependencies (with Node v22) - name: Install dependencies (with Node v22)
run: yarn install --frozen-lockfile --ignore-engines run: |
for i in 1 2 3; do
yarn install --frozen-lockfile --ignore-engines && break
echo "Retry $i..."
sleep 10
done
# make sure the ipfs executable is executable # make sure the ipfs executable is executable
- name: Download IPFS and set permissions (with Node v22) - name: Download IPFS and set permissions (with Node v22)
run: node electron/download-ipfs && sudo chmod +x bin/mac/ipfs run: node electron/download-ipfs && sudo chmod +x bin/mac/ipfs
+2 -2
View File
@@ -69,7 +69,7 @@ const config = {
config: { config: {
name: '5chan', name: '5chan',
icon: './public/icon.png', icon: './public/icon.png',
format: 'UDZO', format: 'ULFO',
}, },
}, },
{ {
@@ -82,7 +82,7 @@ const config = {
platforms: ['win32'], platforms: ['win32'],
config: { config: {
name: '5chan', name: '5chan',
setupIcon: './public/favicon.ico', setupIcon: './public/windows-icon.ico',
}, },
}, },
// Linux // Linux
+6 -6
View File
@@ -114,11 +114,11 @@
"cz-conventional-changelog": "3.3.0", "cz-conventional-changelog": "3.3.0",
"decompress": "4.2.1", "decompress": "4.2.1",
"electron": "36.9.5", "electron": "36.9.5",
"@electron-forge/cli": "7.6.0", "@electron-forge/cli": "7.8.0",
"@electron-forge/maker-dmg": "7.6.0", "@electron-forge/maker-dmg": "7.8.0",
"@electron-forge/maker-squirrel": "7.6.0", "@electron-forge/maker-squirrel": "7.8.0",
"@electron-forge/maker-zip": "7.6.0", "@electron-forge/maker-zip": "7.8.0",
"@electron-forge/plugin-auto-unpack-natives": "7.6.0", "@electron-forge/plugin-auto-unpack-natives": "7.8.0",
"@reforged/maker-appimage": "5.1.1", "@reforged/maker-appimage": "5.1.1",
"husky": "4.3.8", "husky": "4.3.8",
"isomorphic-fetch": "3.0.0", "isomorphic-fetch": "3.0.0",
@@ -157,7 +157,7 @@
"diff": "^8.0.3", "diff": "^8.0.3",
"lodash": "4.17.23", "lodash": "4.17.23",
"seroval": "1.4.1", "seroval": "1.4.1",
"tar": "7.5.4" "tar": "6.2.1"
}, },
"main": "electron/main.js", "main": "electron/main.js",
"lint-staged": { "lint-staged": {
Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB