Fix packaging bug
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
|
New-Item -ItemType Directory -Force -Name "dist/tmp"
|
||||||
New-Item -ItemType Directory -Force -Name "out"
|
New-Item -ItemType Directory -Force -Name "out"
|
||||||
|
|
||||||
# windows setup
|
# windows setup
|
||||||
Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-Item -Destination "out/hiddify-next-setup.exe" -ErrorAction SilentlyContinue
|
Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-Item -Destination "dist/tmp/hiddify-next-setup.exe" -ErrorAction SilentlyContinue
|
||||||
Compress-Archive -Force -Path "out/hiddify-next-setup.exe",".github/help/mac-windows/*.url" -DestinationPath "out/hiddify-windows-x64-setup.zip"
|
Compress-Archive -Force -Path "dist/tmp/hiddify-next-setup.exe",".github/help/mac-windows/*.url" -DestinationPath "out/hiddify-windows-x64-setup.zip"
|
||||||
|
|
||||||
# windows portable
|
# windows portable
|
||||||
Copy-Item -Force -Path "build/windows/x64/runner/Release/*" -Destination "out/hiddify-next"
|
Copy-Item -Force -Path "build/windows/x64/runner/Release/*",".github/help/mac-windows/*.url" -Destination "dist/tmp/hiddify-next"
|
||||||
Compress-Archive -Force -Path "out/hiddify-next" -DestinationPath "out/hiddify-windows-x64-portable.zip"
|
Compress-Archive -Force -Path "dist/tmp/hiddify-next" -DestinationPath "out/hiddify-windows-x64-portable.zip"
|
||||||
Reference in New Issue
Block a user