FakeUKey/build.cmd
2025-02-01 18:12:49 +08:00

10 lines
379 B
Batchfile

cd sidecar
call bun build --compile --target=bun-windows-x64 --outfile=PFakeUKey-x86_64-pc-windows-msvc.exe ./src/main.js
cd ..
copy /Y .\sidecar\PFakeUKey-x86_64-pc-windows-msvc.exe .\view\src-tauri\sidecar\PFakeUKey-x86_64-pc-windows-msvc.exe
copy /Y .\sidecar\PFakeUKey-x86_64-pc-windows-msvc.exe .\view\src-tauri\sidecar\PFakeUKey
cd view
call npm run tauri build