Repository navigation
Release Projecto 1.0.9: fix audit findings and terminal recovery #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Validate desktop | ||
| on: | ||
| push: | ||
| pull_request: | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| checks: | ||
| runs-on: windows-latest | ||
| steps: | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | ||
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: npm | ||
| - run: npm ci | ||
| - run: npm run typecheck | ||
| - run: npm run lint | ||
| - run: npm test |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,3 +90,6 @@ typings/ | |
|
|
||
| # Electron-Forge | ||
| out/ | ||
|
|
||
| # Local release tooling and verification results | ||
| .release-work/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Projecto 1.0.8 | ||
|
|
||
| Projecto 1.0.8 refreshes the desktop identity throughout the packaged app and | ||
| Squirrel.Windows release. | ||
|
|
||
| ## Highlights | ||
|
|
||
| - Adds a high-resolution Projecto app icon for Linux and other PNG consumers. | ||
| - Adds a multi-size Windows icon for the executable and Squirrel installer. | ||
| - Adds a macOS icon bundle for future signed and notarized builds. | ||
| - Uses the branded icon for native app windows and taskbar entries. | ||
| - Keeps the Projecto website favicon visually identical to the desktop app. | ||
|
|
||
| ## Validation | ||
|
|
||
| - TypeScript typecheck: passed. | ||
| - ESLint: passed. | ||
| - Desktop tests: 103 passed across 19 files. | ||
| - Squirrel.Windows make: passed. | ||
| - Packaged executable file and product version: `1.0.8`. | ||
|
|
||
| ## Windows release assets | ||
|
|
||
| | Artifact | Bytes | SHA-256 | | ||
| | --- | ---: | --- | | ||
| | `Projecto-1.0.8.Setup.exe` | `138862080` | `b1f26e9ef060eb05d424321c0501e1894c84f10b372b6c1a3cdbad7fa34a4bc3` | | ||
| | `projecto-1.0.8-full.nupkg` | `138043457` | `f890cb3d66ca6c3354e30f0cdac3da8358c4c9dbc0bdc7dffa9f4594a956af35` | | ||
|
|
||
| The generated `RELEASES` entry is: | ||
|
|
||
| ```text | ||
| AFBCCC7614B44109BDB5A1F415CED7FB7C876412 projecto-1.0.8-full.nupkg 138043457 | ||
| ``` | ||
|
|
||
| The current Windows installer is unsigned. Configure one of the supported | ||
| Windows signing environment-variable sets in `forge.config.js` and rebuild to | ||
| avoid Windows SmartScreen publisher warnings. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -123,9 +123,7 @@ function shutdownServices(): Promise<void> { | |
| } | ||
|
|
||
| shutdownPromise = (async () => { | ||
| await runShutdownStep("launcher", () => { | ||
| launcherService?.stopAllRuns(); | ||
| }); | ||
| await runShutdownStep("launcher", () => launcherService?.stopAllRuns()); | ||
| await runShutdownStep("terminal compatibility", async () => { | ||
| await desktopBridgeService?.stop(); | ||
| }); | ||
|
|
@@ -323,7 +321,7 @@ async function bootstrapIpc( | |
| ); | ||
| const settings = await settingsStore.getSettings(); | ||
| await syncOpenAtLogin(settings.launchOnStartup); | ||
| await subscriptionService.initialize(); | ||
| void subscriptionService.initialize().catch((error) => logMainProcessError("Initial subscription verification failed", error)); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When an existing session is restored, this allows its verification request to remain in flight while the window and protocol handler become available. If the user completes sign-in for another account before that request finishes, the stale request can subsequently overwrite the new subscription state; an old-session 401 is worse because Useful? React with 👍 / 👎. |
||
| await desktopBridgeService.start(); | ||
|
|
||
| launcherService = new LauncherService( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,24 @@ | ||
| import { ipcMain } from "electron"; | ||
| import { handleTrusted } from "./trustedSender"; | ||
|
|
||
|
|
||
| import { SubscriptionService } from "../services/subscriptionService"; | ||
|
|
||
| export function registerBillingIpc( | ||
| subscriptionService: SubscriptionService, | ||
| ): void { | ||
| ipcMain.handle("billing:getSubscriptionState", async () => { | ||
| handleTrusted("billing:getSubscriptionState", async () => { | ||
| return subscriptionService.getSubscriptionState(); | ||
| }); | ||
|
|
||
| ipcMain.handle("billing:openUpgradePage", async () => { | ||
| handleTrusted("billing:openUpgradePage", async () => { | ||
| await subscriptionService.openUpgradePage(); | ||
| }); | ||
|
|
||
| ipcMain.handle("billing:startGoogleSignIn", async () => { | ||
| handleTrusted("billing:startGoogleSignIn", async () => { | ||
| await subscriptionService.startGoogleSignIn(); | ||
| }); | ||
|
|
||
| ipcMain.handle("billing:refreshSubscription", async () => { | ||
| handleTrusted("billing:refreshSubscription", async () => { | ||
| return subscriptionService.refreshSubscription(); | ||
| }); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit sets the package and generated installer version to 1.0.9, but the release instructions still identify 1.0.8 as the current target and tell maintainers to publish the 1.0.8 artifacts. Following this section would update the website or release feed with the wrong installer name and version; the version, filename, and publication note should match 1.0.9.
Useful? React with 👍 / 👎.