diff --git a/scripts/package_windows.ps1 b/scripts/package_windows.ps1 index 4eaf2857..fec75749 100644 --- a/scripts/package_windows.ps1 +++ b/scripts/package_windows.ps1 @@ -6,6 +6,6 @@ Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-It Compress-Archive -Force -Path "dist\tmp\hiddify-next-setup.exe",".github\help\mac-windows\*.url" -DestinationPath "out\hiddify-windows-x64-setup.zip" # windows portable -robocopy "build\windows\x64\runner\Release" "dist\tmp\hiddify-next\" /e -robocopy ".github\help\mac-windows" "dist\tmp\hiddify-next" "*.url" -Compress-Archive -Force -Path "dist\tmp\hiddify-next" -DestinationPath "out\hiddify-windows-x64-portable.zip" \ No newline at end of file +xcopy "build\windows\x64\runner\Release" "dist\tmp\hiddify-next" /E/H/C/I/Y +xcopy ".github\help\mac-windows\*.url" "dist\tmp\hiddify-next" /E/H/C/I/Y +Compress-Archive -Force -Path "dist\tmp\hiddify-next" -DestinationPath "out\hiddify-windows-x64-portable.zip" -ErrorAction SilentlyContinue \ No newline at end of file