Revert "chore: add discord rich presence settings + preload + main wi… #11
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 and Publish Windows NSIS | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: {} | |
| jobs: | |
| build-publish-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: | | |
| npm ci | |
| - name: Build (UI + electron) | |
| run: | | |
| npm run build | |
| - name: Build and publish (electron-builder) | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| CSC_LINK: ${{ secrets.CSC_LINK }} | |
| CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | |
| run: | | |
| npx electron-builder --win nsis --publish=always |