rename the app
This commit is contained in:
@ -27,6 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- Local and test installers now display Capsule for the app, executable, and shortcuts, and use Capsule installer filenames. Existing local installation identity and session storage are preserved.
|
||||
|
||||
- Automatic update checks now request download approval in a blue info banner, then offer a separate restart/install action. The logged-out header uses the saved/default site's logo, and an empty Contact column keeps the footer theme switch centered.
|
||||
- Removed the “Preview the desktop chrome” link from the sign-in screen.
|
||||
- Footer upper band is Contact Us on the left, dark mode in the middle, and More Info on the right, in three equal columns. Contact and Report a Bug stay off the menu until the connected site says those plugins are accepting submissions.
|
||||
|
||||
@ -21,7 +21,7 @@ Set `CAPSULE_DEFAULT_SITE=https://ttp.joeykimsey.com` in `.env` (copy `.env.exam
|
||||
|
||||
For automatic-update testing without a signing certificate, use the separate `dist:test-bootstrap` and `dist:test` commands described in [Free automatic-update testing](docs/releases.md#free-automatic-update-testing). Original Local installations require one bootstrap installation; subsequent test updates use the in-app updater.
|
||||
|
||||
`npm run dist:win` builds a per-user Windows x64 installer at `dist/local/Capsule-Local-0.1.1-x64-Setup.exe` (the filename follows the package version). This unsigned **Capsule Local** build has its own installation and session directory; automatic updates are disabled. To update a 0.1.0 test installation, close Capsule Local and run the 0.1.1 installer under the same Windows account. Reopen it and confirm the dashboard says “you have updated to 0.1.1”; the installer preserves app data. This manual test does not publish to the signed release feed. `npm run pack:win` produces an unpacked app for inspection. `npm test` checks updater behavior and release validation.
|
||||
`npm run dist:win` builds a per-user Windows x64 installer at `dist/local/Capsule-0.1.2-x64-Setup.exe` (the filename follows the package version). This unsigned local build installs as **Capsule**. It retains the previous Capsule Local installation identity and session directory for upgrades; automatic updates remain disabled. Close the existing app and run the new installer under the same Windows account to apply the rename. `npm run pack:win` produces an unpacked app for inspection. `npm test` checks updater behavior and release validation.
|
||||
|
||||
Public builds use `npm run release:win`, require a permanent HTTPS update URL and Windows signing identity, and go to `dist/release/`. Update-enabled builds check automatically 15 seconds after launch and every four hours. An available update shows a blue **Download update** banner; downloading requires that click. After verification, the blue banner offers **Restart to update**, including before sign-in. Closing the app normally does not install an update. A closed app checks after its next launch.
|
||||
|
||||
|
||||
@ -34,8 +34,8 @@ export function createBuildConfig({ release = false, testUpdates = false, bootst
|
||||
}
|
||||
return {
|
||||
appId: release ? APP_ID : `${APP_ID}.local`,
|
||||
productName: release ? 'Capsule' : 'Capsule Local',
|
||||
executableName: release ? 'Capsule' : 'Capsule Local',
|
||||
productName: 'Capsule',
|
||||
executableName: 'Capsule',
|
||||
directories: { output: release ? 'dist/release' : testUpdates ? bootstrap ? 'dist/test-bootstrap' : 'dist/test' : 'dist/local' },
|
||||
files: ['out/**/*', 'package.json'],
|
||||
asar: true,
|
||||
@ -47,7 +47,7 @@ export function createBuildConfig({ release = false, testUpdates = false, bootst
|
||||
...(bootstrap ? { version: '0.1.0' } : {}),
|
||||
capsuleUpdates: { enabled: release || testUpdates, testing: testUpdates }
|
||||
},
|
||||
artifactName: release || testUpdates ? 'Capsule-${version}-${arch}-Setup.${ext}' : 'Capsule-Local-${version}-${arch}-Setup.${ext}',
|
||||
artifactName: 'Capsule-${version}-${arch}-Setup.${ext}',
|
||||
win: {
|
||||
icon: 'build/icon.ico',
|
||||
target: [{ target: 'nsis', arch: ['x64'] }],
|
||||
@ -65,7 +65,7 @@ export function createBuildConfig({ release = false, testUpdates = false, bootst
|
||||
allowElevation: false,
|
||||
deleteAppDataOnUninstall: false,
|
||||
runAfterFinish: false,
|
||||
shortcutName: release ? 'Capsule' : 'Capsule Local'
|
||||
shortcutName: 'Capsule'
|
||||
},
|
||||
publish: release || testUpdates ? [{ provider: 'generic', url, channel: 'latest', useMultipleRangeRequest: false }] : null
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ Capsule uses electron-builder 26.15.3 and electron-updater 6.8.9. The first dist
|
||||
|
||||
Run `npm run dist:win`. The installer and blockmap are written to `dist/local/`; `npm run pack:win` produces only `dist/local/win-unpacked/`.
|
||||
|
||||
Local builds are unsigned, named **Capsule Local**, and have application ID `com.thetempusproject.capsule.local`. They store sessions in `%APPDATA%/capsule-local`. Updates are deliberately disabled, and these installers must not be distributed as the public product. Windows may display an unknown-publisher warning.
|
||||
Local builds are unsigned, named **Capsule** (formerly Capsule Local), and have application ID `com.thetempusproject.capsule.local`. The executable and shortcuts are named Capsule, and installer filenames use `Capsule-${version}-${arch}-Setup.exe`. The internal package name remains `capsule-local` so existing installations retain their identity and data. They store sessions in `%APPDATA%/capsule-local`. Updates are deliberately disabled, and these installers must not be distributed as the public product. Windows may display an unknown-publisher warning.
|
||||
|
||||
Public builds use the permanent ID `com.thetempusproject.capsule`, executable `Capsule.exe`, and `%APPDATA%/capsule/session.json`, preserving the original app's session location. Both installers run per user and preserve app data on uninstall. Do not change the public ID, package name, install scope, or data path after shipping without an explicit migration. Windows builds use `build/icon.ico`, which must contain a 256×256 image. A packaged update replaces the application icon without uninstalling; Windows may temporarily retain a cached shortcut or taskbar icon.
|
||||
|
||||
@ -20,7 +20,7 @@ npm run dist:test-bootstrap
|
||||
npm run dist:test
|
||||
```
|
||||
|
||||
`dist/test-bootstrap/Capsule-0.1.0-x64-Setup.exe` installs as Capsule Local and preserves its existing session location. Close the existing app before installing it. `dist/test/Capsule-0.1.2-x64-Setup.exe` is the current update target; do not manually install that target when testing the updater. Both builds use the same Local identity. The dashboard message is hidden in the bootstrap and shows the installed version after updating.
|
||||
`dist/test-bootstrap/Capsule-0.1.0-x64-Setup.exe` installs as Capsule and preserves its existing session location. Close the existing app before installing it. `dist/test/Capsule-0.1.2-x64-Setup.exe` is the current update target; do not manually install that target when testing the updater. Both builds use the same Local identity. The dashboard message is hidden in the bootstrap and shows the installed version after updating.
|
||||
|
||||
Test builds explicitly omit Authenticode verification; they rely on HTTPS, the publisher-controlled test feed, and metadata checksums. This is for trusted testers, not public signed releases. Windows can warn or block unsigned executables. The app labels this mode “Unsigned test channel.” Public release builds still require signing and verify publisher signatures. Normal `dist:win` builds still have updates disabled.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user