Rename app to EasyView and make APK build cross-platform

- App display name -> EasyView (Android label, PWA manifest, page titles,
  about/guide text, APK artifact name)
- scripts/build-apk.mjs: auto-detect JDK/SDK/Gradle toolchain instead of
  hardcoded Windows paths; pick highest build-tools; platform 34 fallback;
  path.delimiter classpaths; npm run build without cmd.exe on POSIX
- Add build-apk.sh one-shot Linux build wrapper (loads ven env + keystore)
- Signing keystore renamed to easyview.jks (alias easyview),
  env vars EASYVIEW_KEYSTORE_PASS / EASYVIEW_KEY_PASS
This commit is contained in:
2026-10-26 19:38:42 +08:00
parent e01c7eaecb
commit f70913481e
12 changed files with 170 additions and 96 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ export class DocViewer {
add('rotate', 'rotate-cw', '旋转 90°', () => this.rotatePage())
add('invert', 'moon', '反色阅读', () => this.toggleInvert())
this.fullscreenBtn = add('fullscreen', 'maximize', '全屏', () => void this.toggleFullscreen())
add('about', 'info', '关于万能看图', () => showAbout())
add('about', 'info', '关于 EasyView', () => showAbout())
return menu
}