diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ada84f7..3db3850b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,7 +89,12 @@ jobs: - run: pip install setuptools - 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 - name: Download IPFS and set permissions (with Node v22) run: node electron/download-ipfs && sudo chmod +x bin/mac/ipfs diff --git a/forge.config.js b/forge.config.js index 1c715ad9..171fd859 100644 --- a/forge.config.js +++ b/forge.config.js @@ -69,7 +69,7 @@ const config = { config: { name: '5chan', icon: './public/icon.png', - format: 'UDZO', + format: 'ULFO', }, }, { @@ -82,7 +82,7 @@ const config = { platforms: ['win32'], config: { name: '5chan', - setupIcon: './public/favicon.ico', + setupIcon: './public/windows-icon.ico', }, }, // Linux diff --git a/package.json b/package.json index 1b0978e8..d3624ab7 100644 --- a/package.json +++ b/package.json @@ -114,11 +114,11 @@ "cz-conventional-changelog": "3.3.0", "decompress": "4.2.1", "electron": "36.9.5", - "@electron-forge/cli": "7.6.0", - "@electron-forge/maker-dmg": "7.6.0", - "@electron-forge/maker-squirrel": "7.6.0", - "@electron-forge/maker-zip": "7.6.0", - "@electron-forge/plugin-auto-unpack-natives": "7.6.0", + "@electron-forge/cli": "7.8.0", + "@electron-forge/maker-dmg": "7.8.0", + "@electron-forge/maker-squirrel": "7.8.0", + "@electron-forge/maker-zip": "7.8.0", + "@electron-forge/plugin-auto-unpack-natives": "7.8.0", "@reforged/maker-appimage": "5.1.1", "husky": "4.3.8", "isomorphic-fetch": "3.0.0", @@ -157,7 +157,7 @@ "diff": "^8.0.3", "lodash": "4.17.23", "seroval": "1.4.1", - "tar": "7.5.4" + "tar": "6.2.1" }, "main": "electron/main.js", "lint-staged": { diff --git a/public/windows-icon.ico b/public/windows-icon.ico new file mode 100644 index 00000000..2b5fedc6 Binary files /dev/null and b/public/windows-icon.ico differ