bug-001: fix tray menu, add autostart and crash recovery launcher
All checks were successful
Build Check / build (push) Successful in 4m2s

This commit is contained in:
2026-05-17 09:26:28 -05:00
parent 77ddf68c8f
commit 168dc9de83
9 changed files with 400 additions and 9 deletions

View File

@@ -0,0 +1,26 @@
name: Build Check
on:
push:
branches:
- 'bug-*'
- 'feat-*'
- 'dev'
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build check
shell: powershell
run: cargo build --release
- name: Report success
shell: powershell
run: Write-Host "Build succeeded - safe to merge to main"

View File

@@ -16,6 +16,11 @@ jobs:
shell: powershell
run: cargo build --release
- name: Build installer
shell: powershell
run: |
cargo wix --nocapture
- name: Create Gitea Release
id: create_release
shell: powershell
@@ -59,4 +64,21 @@ jobs:
$uri = "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe"
& curl.exe -X POST -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -F "attachment=@$filePath" "$uri"
& curl.exe -X POST -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -F "attachment=@$filePath" "$uri"
- name: Upload installer
shell: powershell
run: |
$releaseId = "${{ steps.create_release.outputs.release_id }}"
$msiPath = (Get-ChildItem -Path "target\wix\*.msi" | Select-Object -First 1).FullName
Write-Host "MSI Path: $msiPath"
if (!(Test-Path $msiPath)) {
Write-Error "MSI not found"
exit 1
}
$uri = "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr-setup.msi"
& curl.exe -X POST -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -F "attachment=@$msiPath" "$uri"