diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4933fffe..8b48339d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,13 +74,6 @@ jobs: # Core22 and snapcraft are now handled by the action-build step below - - name: Get version from package.json (Windows) - if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Windows' - id: version - run: | - $version = pnpm pkg get version - echo "VERSION=$version" >> $env:GITHUB_OUTPUT - shell: powershell - name: Get version from package.json (Unix) if: startsWith(github.ref, 'refs/tags/') && runner.os != 'Windows' id: version_unix @@ -88,19 +81,6 @@ jobs: VERSION=$(pnpm pkg get version | tr -d '"') echo "VERSION=$VERSION" >> $GITHUB_OUTPUT shell: bash - - name: Sign Windows Executable with eSigner - if: matrix.os == 'windows-latest' && startsWith(github.ref, 'refs/tags/') - uses: sslcom/esigner-codesign@develop - with: - command: sign - username: ${{ secrets.ES_USERNAME }} - password: ${{ secrets.ES_PASSWORD }} - credential_id: ${{ secrets.CREDENTIAL_ID }} - totp_secret: ${{ secrets.ES_TOTP_SECRET }} - file_path: ${{ github.workspace }}/out/make/squirrel.windows/x64/Swach-${{ steps.version.outputs.VERSION }}.Setup.exe - override: true - malware_block: false - environment_name: PROD - name: Debug DEB contents (amd64) if: startsWith(matrix.os, 'ubuntu') && runner.arch == 'X64' && startsWith(github.ref, 'refs/tags/') run: | diff --git a/README.md b/README.md index ed24c7091..72531fa7c 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ The production builds work by: 1. Electron Forge builds the Ember renderer using Vite with `EMBER_CLI_ELECTRON=true` 2. This enables hash routing and proper asset paths for file-based loading 3. The main and preload processes are built and bundled -4. Everything is packaged into the final Electron app with proper code signing and notarization +4. Everything is packaged into the final Electron app (code signed and notarized on macOS; Windows builds are unsigned) ## Releasing diff --git a/WARP.md b/WARP.md index f7b63fbde..00fbddd31 100644 --- a/WARP.md +++ b/WARP.md @@ -202,7 +202,7 @@ This is the critical flag that switches between web and Electron modes. Always s ### Code Signing & Notarization - macOS: Conditional based on `APPLE_ID` and `APPLE_ID_PASSWORD` env vars - Skip with `SKIP_CODESIGN=true` (used in CI tests) -- Windows: Squirrel installer created unsigned, then signed separately with eSigner +- Windows: Squirrel installer is shipped unsigned (no Windows code signing certificate) - Configured in `forge.config.ts` ### Package Manager diff --git a/forge.config.ts b/forge.config.ts index 6a691f81e..586ab29f5 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -92,7 +92,6 @@ const config: ForgeConfig = { icon: 'electron-app/resources/dmg.icns', }; }, ['darwin']), - // Build unsigned executable - will be signed later with eSigner new MakerSquirrel( { name: 'Swach', diff --git a/package.json b/package.json index b2256ff6c..2a19a5d3e 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "ember-set-helper": "^3.1.0", "ember-simple-auth": "^8.3.0", "ember-source": "^6.11.0", - "hue-hunter": "^0.4.1", + "hue-hunter": "^0.4.2", "indexeddb-export-import": "^2.1.5", "menubar": "^9.5.2", "throttle-debounce": "^5.0.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c3f8ee09..26a9a8ca0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -153,8 +153,8 @@ importers: specifier: ^6.11.0 version: 6.11.0(@glimmer/component@2.0.0)(rsvp@4.8.5) hue-hunter: - specifier: ^0.4.1 - version: 0.4.1(electron@40.10.3) + specifier: ^0.4.2 + version: 0.4.2(electron@40.10.3) indexeddb-export-import: specifier: ^2.1.5 version: 2.1.5 @@ -5492,6 +5492,7 @@ packages: electron-squirrel-startup@1.0.1: resolution: {integrity: sha512-sTfFIHGku+7PsHLJ7v0dRcZNkALrV+YEozINTW8X1nM//e5O3L+rfYuvSW00lmGHnYmUjARZulD8F2V8ISI9RA==} + deprecated: This package is archived and deprecated, it will not get any updates. electron-store@11.0.2: resolution: {integrity: sha512-4VkNRdN+BImL2KcCi41WvAYbh6zLX5AUTi4so68yPqiItjbgTjqpEnGAqasgnG+lB6GuAyUltKwVopp6Uv+gwQ==} @@ -6045,6 +6046,7 @@ packages: eslint@9.39.3: resolution: {integrity: sha512-VmQ+sifHUbI/IcSopBCF/HO3YiHQx/AVd3UVyYL6weuwW+HvON9VYn5l6Zl1WZzPWXPNZrSQpxwkkZ/VuvJZzg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true peerDependencies: jiti: '*' @@ -6890,8 +6892,8 @@ packages: resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} engines: {node: '>= 14'} - hue-hunter@0.4.1: - resolution: {integrity: sha512-X1zCao4k0+FqqnSuCBJjf2Mr98pC82a/8ft56lfhla3ufUaPX6GGMEJljxunwtOJu3BatnzszoNM60Px8vKqUg==} + hue-hunter@0.4.2: + resolution: {integrity: sha512-/S1tFQh/ByS2zTQ+n8jjK6VFaAOJ/7X59WhZ1JGINsjbKyqqYFhtDh5MjgGR8M3E67J2+kmVpSIlwBRUzUNjcQ==} engines: {node: '>=24.0.0'} peerDependencies: electron: '>=38.0.0' @@ -6947,6 +6949,7 @@ packages: image-size@0.7.5: resolution: {integrity: sha512-Hiyv+mXHfFEP7LzUL/llg9RwFxxY+o9N3JVLIeG5E7iFIFAalxvRU9UZthBdYDEVnzHMgjnKJPPpay5BWf1g9g==} engines: {node: '>=6.9.0'} + deprecated: Please migrate to image-size@2.x hasBin: true image-size@1.2.1: @@ -19980,12 +19983,10 @@ snapshots: transitivePeerDependencies: - supports-color - hue-hunter@0.4.1(electron@40.10.3): + hue-hunter@0.4.2(electron@40.10.3): dependencies: - color-name-list: 14.33.0 electron: 40.10.3 electron-is-dev: 3.0.1 - nearest-color: 0.4.4 human-signals@1.1.1: {}