Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/Tauri-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,28 @@ jobs:
run: |
echo "${{ secrets.WINDOWS_CERTIFICATE }}" > cert.b64
certutil -decode cert.b64 circuitverse.pfx

- name: Setup Windows SDK (signtool)
if: matrix.os == 'windows-2022'
shell: powershell
run: |
$signtool = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
if (-not (Test-Path $signtool)) {
Write-Error "signtool.exe not found"
exit 1
}
& $signtool /?


- name: Sign Windows executables
if: matrix.os == 'windows-2022'
shell: powershell
run: |
$signtool = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
$exePath = "src-tauri\target\release\CircuitVerse.exe"

if (Test-Path $exePath) {
signtool sign `
& $signtool sign `
/f circuitverse.pfx `
/p "${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}" `
/fd SHA256 `
Expand All @@ -229,7 +242,8 @@ jobs:
if: matrix.os == 'windows-2022'
shell: powershell
run: |
signtool verify /pa src-tauri\target\release\CircuitVerse.exe
$signtool = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
& $signtool verify /pa src-tauri\target\release\CircuitVerse.exe


- name: Upload Tauri Build Artifacts
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ public/simulatorvue/*
cert.b64

# Tauri / Rust build output
src-tauri/target/
src-tauri/target/*

# Certificate files
circuitverse_base64.txt
circuitverse.pfx
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cv-frontend-vue",
"version": "0.0.4",
"version": "0.0.8",
"private": true,
"scripts": {
"serve": "vite preview",
Expand Down
Loading