{ "$schema": "https://schema.tauri.app/config/2", "build": { "beforeBuildCommand": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/prepare-windows-bundle.ps1 && pnpm build", "beforeBundleCommand": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/prepare-windows-bundle.ps1" }, "bundle": { "windows": { "nsis": { "installMode": "currentUser", "languages": ["SimpChinese"], "displayLanguageSelector": false, "customLanguageFiles": { "SimpChinese": "installer/SimpChinese.nsh" }, "installerHooks": "installer/hooks.nsh", "installerIcon": "icons/icon.ico", "uninstallerIcon": "icons/icon.ico", "headerImage": "installer/header.bmp", "sidebarImage": "installer/sidebar.bmp", "uninstallerHeaderImage": "installer/header.bmp" } } } }