Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,33 +74,13 @@ 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
run: |
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: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion WARP.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
15 changes: 8 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading