feat(ui): display version and git hash in header

Add version info display below "ERP Auto" logo showing format:
${version}(${git-hash})

- Inject __APP_VERSION__ and __GIT_HASH__ via vite define
- Add TypeScript declarations for global constants
- Simplify portable artifact name (remove version)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-03-16 15:00:38 +08:00
parent 9e577a2226
commit cccc4e4c8c
5 changed files with 30 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ win:
- nsis
- portable
portable:
artifactName: ${name}-${version}-portable.${ext}
artifactName: ${name}-portable.${ext}
# Portable app uses user data directory (AppData), not exe directory
# This ensures config persists across app updates
nsis: