tauri build error on windows

489 阅读1分钟

1.Downloading https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip

2.Downloading https://github.com/tauri-apps/binary-releases/releases/download/nsis-3/nsis-3.zip

for the two error extract this file on C:\Users\<UserName>\AppData\Local dir

cd C:\Users\<UserName>\AppData\Local
wget https://gitcode.net/dnrops/tauri_win/-/raw/master/tauri.7z
extract this 7z file

img_v2_ae605d32-ed20-48a4-aa7e-12a1f65bc38g.png after that it look like this

and run

cargo tauri build 

again