summaryrefslogtreecommitdiff
path: root/electron-builder.yml
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-07-30 09:00:55 +0800
committerhaoyuren <13851610112@163.com>2026-07-30 09:00:55 +0800
commit7297f7c339186f8af50f4f0ed3734e4ad4b47aed (patch)
tree9c5b02d50bf7ab5ac64b07ba436f9e2319a87208 /electron-builder.yml
parentc9cd5119077c69088eb8ba768ee1e1602baec751 (diff)
Cross-platform support: Windows build target and CI release workflow
- Normalize watcher paths to forward slashes (Windows events use backslashes; all sync maps are '/'-keyed), path.delimiter for PATH/TEXINPUTS, dirname() instead of '/'-substring splits, bridge log in os.tmpdir() - Platform-aware TeX search paths (TeX Live / MiKTeX on Windows), terminal shell default (COMSPEC/powershell), native window frame off macOS - electron-builder: NSIS target + win icon + GitHub publish provider - GitHub Actions workflow builds the Windows installer on tag push (node-pty needs MSVC — cannot cross-compile from macOS) and attaches it to the release Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'electron-builder.yml')
-rw-r--r--electron-builder.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/electron-builder.yml b/electron-builder.yml
index 6f74aa6..fba8e54 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -34,3 +34,13 @@ mac:
- dmg
category: public.app-category.productivity
artifactName: ${name}-${version}-${arch}.${ext}
+win:
+ icon: resources/icon.png
+ target:
+ - nsis
+ artifactName: ${name}-${version}-win-${arch}.${ext}
+nsis:
+ oneClick: false
+ allowToChangeInstallationDirectory: true
+publish:
+ provider: github