Skip to content

Commit

Permalink
fix(manager/macos): address auto-update regression (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 authored Feb 26, 2025
1 parent f883b63 commit 8f2c5c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions server_manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ This will enable the Developer menu on the application window.
To build the app binary:

```
npm run action server_manager/electron/build ${PLATFORM} -- --buildMode=[debug,release]
npm run action server_manager/electron/package ${PLATFORM} -- --buildMode=[debug,release]
```

Where `${PLATFORM}` is one of `linux`, `macos`, `windows`.

The per-platform standalone apps will be at `output/build/server_manager/electron/static/dist`.

- Windows: zip files. Only generated if you have [wine](https://www.winehq.org/download) installed.
- Linux: tar.gz files.
- macOS: dmg files if built from macOS, zip files otherwise.
- Windows: An `.exe` file. Only generated if you have [wine](https://www.winehq.org/download) installed.
- Linux: An `.AppImage` file.
- macOS: A `.dmg` and a `.zip` file as [required by auto update](https://www.electron.build/mac#target).

> NOTE: If you are building for macOS, you may need to run `security unlock-keychain login.keychain` so electron-builder has access to your certificates.
Expand Down
2 changes: 1 addition & 1 deletion server_manager/electron/electron_builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"icon": "icons/mac/icon.icns",
"target": [
{
"target": "dmg",
"target": "default",
"arch": "universal"
}
],
Expand Down

0 comments on commit 8f2c5c2

Please sign in to comment.