From 3b473eecb56d09c8be1d34debd2ef0d1f07ea3eb Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Fri, 29 Dec 2023 13:08:37 +0330 Subject: [PATCH] Remove robocopy --- scripts/package_windows.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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