feat(Header): Add drag and no-drag regions for desktop app

* Implemented `.hd-drag` and `.hd-btns` classes for better window management in the Electron app.
* Updated `Header.tsx` to utilize these new classes for improved user experience.
This commit is contained in:
VancySavoki
2025-09-01 20:01:28 +08:00
parent 1b914584e3
commit babe33e616

View File

@@ -33,8 +33,8 @@ jobs:
- name: Build web app
run: npm run build
env:
VITE_BASE_PATH: './'
# env:
# VITE_BASE_PATH: './'
- name: Verify and fix web build
shell: bash
@@ -467,6 +467,12 @@ jobs:
DEBUG: electron-builder
# Linux 特定环境变量
ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES: true
# macOS signing and notarization
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
- name: List build output
shell: bash