2023-12-29 11:45:34 +03:30
|
|
|
New-Item -ItemType Directory -Force -Name "dist\tmp"
|
2023-12-28 17:16:02 +03:30
|
|
|
New-Item -ItemType Directory -Force -Name "out"
|
|
|
|
|
|
|
|
|
|
# windows setup
|
2024-02-10 11:17:58 +01:00
|
|
|
# Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-Item -Destination "dist\tmp\hiddify-next-setup.exe" -ErrorAction SilentlyContinue
|
2024-02-09 23:02:19 +01:00
|
|
|
# Compress-Archive -Force -Path "dist\tmp\hiddify-next-setup.exe",".github\help\mac-windows\*.url" -DestinationPath "out\hiddify-windows-x64-setup.zip"
|
2024-02-10 11:17:58 +01:00
|
|
|
Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-Item -Destination "out\Hiddify-Windows-Setup-x64.exe" -ErrorAction SilentlyContinue
|
2024-02-27 15:51:31 +03:30
|
|
|
Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows.msix" | Copy-Item -Destination "out\Hiddify-Windows-Setup-x64.msix" -ErrorAction SilentlyContinue
|
2024-02-10 11:17:58 +01:00
|
|
|
|
2023-12-28 17:16:02 +03:30
|
|
|
|
|
|
|
|
# windows portable
|
2023-12-29 13:08:37 +03:30
|
|
|
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
|
2024-02-09 23:02:19 +01:00
|
|
|
Compress-Archive -Force -Path "dist\tmp\hiddify-next" -DestinationPath "out\Hiddify-Windows-Portable-x64.zip" -ErrorAction SilentlyContinue
|
|
|
|
|
|
2024-03-10 11:05:16 +01:00
|
|
|
Remove-Item -Path "$HOME\.pub-cache\git\cache\flutter_circle_flags*" -Force -Recurse -ErrorAction SilentlyContinue
|
|
|
|
|
|
|
|
|
|
echo "D"
|