19 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
d697b5af77 Protect desktop release credentials and rotate runtime trust key 2026-11-20 16:42:26 +08:00
Bingxi Zhao (Frank)
800b11e9eb fix(desktop): discover host CLIs when launched from Finder
Local dev repairs for #2340. Regression checks cover reported symptoms and compatibility boundaries.
2026-11-15 00:44:10 +08:00
Gaurav Dubey
ff43aec3a0 fix(desktop): adopt the bundled core when there is no workspace to back up
cp() rejects with ENOENT when the workspace folder does not exist, which made every start fail before the installed core could run. Skip the backup in that case; rollback already skips a missing backup.
2026-11-12 12:24:17 +00:00
Gaurav Dubey
8a7ec68a45 docs(desktop): describe adopting the bundled core after an app upgrade 2026-11-12 12:23:08 +00:00
Gaurav Dubey
ae5edd0216 test(desktop): cover the startup runtime choice
Move the saved-versus-bundled decision out of main.mjs into startupRuntime() in bundles.mjs so npm test covers it: newer, older and tampered seeds, a seed that already failed, and an interrupted (not failed) one.
2026-11-12 12:22:38 +00:00
Gaurav Dubey
6de2d1ea2c fix(desktop): activate the bundled core after an in-place upgrade
Installing a newer desktop build over an existing one left the app on the
old core: boot() started the runtime recorded in active.json whenever it
existed and only read the bundled seed on a fresh install.

On start, compare the signed seed manifest with the active runtime and
switch to the seed when its coreVersion is strictly newer. The switch uses
the same workspace backup and upgrade transaction as a manual update, and
rolls back if the new core fails its first start; a seed that failed is not
retried on every launch. An unreadable seed keeps the installed core
starting, and a newer core installed by hand is never replaced by an older
bundled one.

Closes #2620
2026-11-12 12:19:42 +00:00
Bingxi Zhao (Frank)
923ca871f3 ci(desktop): require Intel Mac and complete release downloads 2026-11-06 16:11:59 +08:00
iSanae233
2c5f844906 fix(desktop): address build dependency advisories
Override vulnerable ASAR dependencies and extend desktop shell checks to macOS runners.

Co-Authored-By: GPT-6 Astra <noreply@openai.com>
2026-11-01 20:35:44 +08:00
Bingxi Zhao (Frank)
4d7090447e Integrate Turkish across complete locale chain, runtime messages and desktop shell 2026-10-31 18:14:34 +08:00
Bingxi Zhao (Frank)
0e84ab77fa Integrate reviewed changes and complete Portuguese translations 2026-10-31 18:04:54 +08:00
Bingxi Zhao (Frank)
c836ca354d Merge reviewed locale chain and preserve Vietnamese shared language selection 2026-10-31 17:32:10 +08:00
Bingxi Zhao (Frank)
6403fe13a1 fix(desktop): sign bundled native code before notarization 2026-10-31 11:30:12 +08:00
Bingxi Zhao (Frank)
40c051b731 fix(desktop): compare runtime signing keys independently of PEM line endings 2026-10-30 22:14:57 +08:00
Bingxi Zhao (Frank)
bb093359a1 ci(desktop): validate configured signing on dev without publishing 2026-10-30 22:02:54 +08:00
d41sys
9ddbb92c36 feat: add Vietnamese localization 2026-10-30 02:28:18 +01:00
Bingxi Zhao (Frank)
991c40e67f fix(desktop): support Unicode paths during Windows first launch 2026-10-30 07:51:47 +08:00
Bingxi Zhao (Frank)
ebbda6e321 test(desktop): verify Windows installer lifecycle and preserve user files 2026-10-30 07:23:57 +08:00
Bingxi Zhao (Frank)
ce4380f3e7 feat(desktop): add Intel Mac and Windows editions with platform builds 2026-10-30 07:20:55 +08:00
Bingxi Zhao (Frank)
a4fa63b6e2 feat(desktop): add Open DeepTutor for macOS under apps/desktop
Move the Electron macOS app into the main repository and ship it with every
DeepTutor release.

- apps/desktop: Electron shell that installs a signed bundled runtime and
  hosts the web UI; versioned with the bundled core.
- White app icon with the black DeepTutor mark, generated by
  scripts/make-icon.swift; redesigned start screen and title bar.
- Shell copy in en/zh/de/fr/pl/uk, starting in English and following the
  interface language and theme from DeepTutor Settings, including live changes.
- Web UI labels itself "Open DeepTutor MacOS v<version>" inside the app
  (user-agent marker) and "Open DeepTutor Web v<version>" in a browser.
- Sealing refuses a missing or mismatched signing key instead of silently
  generating a new one.
- desktop-release.yml builds, smoke-tests and attaches the DMG to each
  GitHub Release; Developer ID signing and notarization run when secrets exist.
- tests.yml runs the shell checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:20:15 +08:00