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

@@ -10,8 +10,6 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
npm run dev # Start development server with hot reload
npm run build # Full build with type checking
npm run build:win # Build Windows executable
npm run build:mac # Build macOS DMG
npm run build:linux # Build Linux AppImage
```
### Code Quality