Files
DeepTutor/apps/desktop/package.json
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

25 lines
755 B
JSON

{
"name": "open-deeptutor",
"productName": "Open DeepTutor",
"version": "0.0.0",
"private": true,
"description": "Open DeepTutor for macOS: DeepTutor's local runtime in a native window",
"license": "Apache-2.0",
"type": "module",
"main": "src/main.mjs",
"scripts": {
"start": "electron .",
"test": "node --test test/*.test.mjs",
"check": "node scripts/check.mjs",
"icon": "swift scripts/make-icon.swift assets/mark.png assets/icon.icns",
"build:runtime": "node scripts/build-runtime.mjs",
"package:mac": "node scripts/package.mjs",
"package:dmg": "node scripts/make-dmg.mjs",
"smoke": "node scripts/smoke.mjs"
},
"devDependencies": {
"@electron/packager": "20.3.0",
"electron": "45.1.0"
}
}