diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 8f3e1d58..81a7c411 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -36,6 +36,9 @@ jobs: } shell: pwsh + - name: Clear npm cache + run: npm cache clean --force + - name: Install Dependencies run: pnpm install --prefer-offline --no-frozen-lockfile working-directory: ./native @@ -45,7 +48,7 @@ jobs: working-directory: ./native - name: Create NSIS Installer - run: pnpx electron-builder --win --publish always + run: pnpm run electron-builder -- --win --publish always env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} working-directory: ./native diff --git a/native/package.json b/native/package.json index ad6458ec..42cb9a7a 100644 --- a/native/package.json +++ b/native/package.json @@ -21,7 +21,7 @@ "@types/node": "^22.7.6", "cross-env": "^7.0.3", "electron": "^33.0.1", - "electron-builder": "24.9.1", + "electron-builder": "24.6.4", "typescript": "^5.3.3" }, "build": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f4e06d17..9149e3c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -395,16 +395,16 @@ importers: specifier: ^33.0.1 version: 33.0.1 electron-builder: - specifier: 24.9.1 - version: 24.9.1 + specifier: 24.6.4 + version: 24.6.4 typescript: specifier: ^5.3.3 version: 5.6.3 packages: - /7zip-bin@5.2.0: - resolution: {integrity: sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==} + /7zip-bin@5.1.1: + resolution: {integrity: sha512-sAP4LldeWNz0lNzmTird3uWfFDWWTeg6V/MsmyyLR9X1idwKBWIgt/ZvinqQldJm3LecKEs1emkbquO6PCiLVQ==} dev: true /@ampproject/remapping@2.3.0: @@ -5559,11 +5559,11 @@ packages: resolution: {integrity: sha512-xwdG0FJPQMe0M0UA4Tz0zEB8rBJTRA5a476ZawAqiBkMv16GRK5xpXThOjMaEOFnZ6zabejjG4J3da0SXG63KA==} dev: true - /app-builder-lib@24.9.1: - resolution: {integrity: sha512-Q1nYxZcio4r+W72cnIRVYofEAyjBd3mG47o+zms8HlD51zWtA/YxJb01Jei5F+jkWhge/PTQK+uldsPh6d0/4g==} + /app-builder-lib@24.6.4: + resolution: {integrity: sha512-m9931WXb83teb32N0rKg+ulbn6+Hl8NV5SUpVDOVz9MWOXfhV6AQtTdftf51zJJvCQnQugGtSqoLvgw6mdF/Rg==} engines: {node: '>=14.0.0'} dependencies: - 7zip-bin: 5.2.0 + 7zip-bin: 5.1.1 '@develar/schema-utils': 2.6.5 '@electron/notarize': 2.1.0 '@electron/osx-sign': 1.0.5 @@ -5572,12 +5572,12 @@ packages: '@types/fs-extra': 9.0.13 async-exit-hook: 2.0.1 bluebird-lst: 1.0.9 - builder-util: 24.8.1 - builder-util-runtime: 9.2.3 + builder-util: 24.5.0 + builder-util-runtime: 9.2.1 chromium-pickle-js: 0.2.0 debug: 4.3.7 ejs: 3.1.10 - electron-publish: 24.8.1 + electron-publish: 24.5.0 form-data: 4.0.1 fs-extra: 10.1.0 hosted-git-info: 4.1.0 @@ -5895,8 +5895,8 @@ packages: base64-js: 1.5.1 ieee754: 1.2.1 - /builder-util-runtime@9.2.3: - resolution: {integrity: sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==} + /builder-util-runtime@9.2.1: + resolution: {integrity: sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==} engines: {node: '>=12.0.0'} dependencies: debug: 4.3.7 @@ -5905,14 +5905,14 @@ packages: - supports-color dev: true - /builder-util@24.8.1: - resolution: {integrity: sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==} + /builder-util@24.5.0: + resolution: {integrity: sha512-STnBmZN/M5vGcv01u/K8l+H+kplTaq4PAIn3yeuufUKSpcdro0DhJWxPI81k5XcNfC//bjM3+n9nr8F9uV4uAQ==} dependencies: - 7zip-bin: 5.2.0 + 7zip-bin: 5.1.1 '@types/debug': 4.1.12 app-builder-bin: 4.0.0 bluebird-lst: 1.0.9 - builder-util-runtime: 9.2.3 + builder-util-runtime: 9.2.1 chalk: 4.1.2 cross-spawn: 7.0.3 debug: 4.3.7 @@ -6684,12 +6684,12 @@ packages: hasBin: true dev: false - /dmg-builder@24.9.1: - resolution: {integrity: sha512-huC+O6hvHd24Ubj3cy2GMiGLe2xGFKN3klqVMLAdcbB6SWMd1yPSdZvV8W1O01ICzCCRlZDHiv4VrNUgnPUfbQ==} + /dmg-builder@24.6.4: + resolution: {integrity: sha512-BNcHRc9CWEuI9qt0E655bUBU/j/3wUCYBVKGu1kVpbN5lcUdEJJJeiO0NHK3dgKmra6LUUZlo+mWqc+OCbi0zw==} dependencies: - app-builder-lib: 24.9.1 - builder-util: 24.8.1 - builder-util-runtime: 9.2.3 + app-builder-lib: 24.6.4 + builder-util: 24.5.0 + builder-util-runtime: 9.2.1 fs-extra: 10.1.0 iconv-lite: 0.6.3 js-yaml: 4.1.0 @@ -6800,16 +6800,16 @@ packages: jake: 10.9.2 dev: true - /electron-builder@24.9.1: - resolution: {integrity: sha512-v7BuakDuY6sKMUYM8mfQGrwyjBpZ/ObaqnenU0H+igEL10nc6ht049rsCw2HghRBdEwJxGIBuzs3jbEhNaMDmg==} + /electron-builder@24.6.4: + resolution: {integrity: sha512-uNWQoU7pE7qOaIQ6CJHpBi44RJFVG8OHRBIadUxrsDJVwLLo8Nma3K/EEtx5/UyWAQYdcK4nVPYKoRqBb20hbA==} engines: {node: '>=14.0.0'} hasBin: true dependencies: - app-builder-lib: 24.9.1 - builder-util: 24.8.1 - builder-util-runtime: 9.2.3 + app-builder-lib: 24.6.4 + builder-util: 24.5.0 + builder-util-runtime: 9.2.1 chalk: 4.1.2 - dmg-builder: 24.9.1 + dmg-builder: 24.6.4 fs-extra: 10.1.0 is-ci: 3.0.1 lazy-val: 1.0.5 @@ -6820,12 +6820,12 @@ packages: - supports-color dev: true - /electron-publish@24.8.1: - resolution: {integrity: sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==} + /electron-publish@24.5.0: + resolution: {integrity: sha512-zwo70suH15L15B4ZWNDoEg27HIYoPsGJUF7xevLJLSI7JUPC8l2yLBdLGwqueJ5XkDL7ucYyRZzxJVR8ElV9BA==} dependencies: '@types/fs-extra': 9.0.13 - builder-util: 24.8.1 - builder-util-runtime: 9.2.3 + builder-util: 24.5.0 + builder-util-runtime: 9.2.1 chalk: 4.1.2 fs-extra: 10.1.0 lazy-val: 1.0.5