Skip to content

Commit e347cac

Browse files
committed
perf: change build actin
1 parent dbf9134 commit e347cac

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ jobs:
6767
run: |
6868
brew install create-dmg
6969
70+
- name: Install WiX Toolset (Windows)
71+
if: matrix.os == 'windows-latest'
72+
run: |
73+
# Download and install WiX Toolset
74+
$wixUrl = "https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311.exe"
75+
$wixInstaller = "$env:TEMP\wix311.exe"
76+
Invoke-WebRequest -Uri $wixUrl -OutFile $wixInstaller
77+
Start-Process -FilePath $wixInstaller -ArgumentList "/quiet" -Wait
78+
# Add WiX to PATH
79+
$wixPath = "${env:ProgramFiles(x86)}\WiX Toolset v3.11\bin"
80+
echo "$wixPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
81+
7082
- name: Install Rust
7183
uses: dtolnay/rust-toolchain@stable
7284
with:

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"bundle": {
33
"active": true,
4-
"targets": "all",
4+
"targets": ["deb", "rpm", "appimage", "dmg", "nsis", "msi"],
55
"icon": [
66
"icons/icon.ico",
77
"icons/icon.icns"

0 commit comments

Comments
 (0)