feat: update function keys layout and improve navigation controls #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Windows Server | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths: | |
| - 'server/**' | |
| - 'web-client/**' | |
| - '.github/workflows/build_windows.yml' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # --- 1. Build Web Client --- | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: web-client/package-lock.json | |
| - name: Build Web Client | |
| working-directory: ./web-client | |
| run: | | |
| npm ci | |
| npm run build | |
| # --- 2. Build Python Server --- | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: '3.13' | |
| enable-cache: true | |
| cache-dependency-glob: "server/uv.lock" | |
| - name: Build with PyInstaller | |
| working-directory: ./server | |
| # --add-data format for Windows: "source_path;dest_folder_name" | |
| # Embedding web-client/dist into web_dist folder inside the executable | |
| run: | | |
| uv run --frozen pyinstaller --clean --onefile --noconsole --name "RemoteMouse" --exclude-module tkinter --exclude-module unittest --add-data "../web-client/dist;web_dist" --add-data "src/server/assets;assets" src/server/main.py | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RemoteMouse-exe | |
| path: server/dist/RemoteMouse.exe |