fix: bug in windows portable

This commit is contained in:
Hiddify
2023-12-19 23:51:52 +01:00
parent c9262b1f87
commit 96a0f2f768

View File

@@ -191,6 +191,7 @@ jobs:
- name: Copy to out Windows
if: matrix.platform == 'windows'
run: |
tree
New-Item -ItemType Directory -Force -Name "out"
New-Item -ItemType Directory -Force -Name "tmp_out"
$EXT_ARRAY = "${{ matrix.targets }}" -split ","
@@ -208,7 +209,7 @@ jobs:
mkdir HiddifyNext-portable
xcopy /s /v D:\a\hiddify-next\hiddify-next\build\windows\runner\Release\ .\HiddifyNext-portable\
xcopy /s /v D:\a\hiddify-next\hiddify-next\build\windows\x64\runner\Release\HiddifyNext.exe .\HiddifyNext-portable\
xcopy /s /v '.\.github\help\mac-windows\' .\HiddifyNext-portable\
cd HiddifyNext-portable
Compress-Archive .\ ..\out\hiddify-${{ matrix.platform }}-x64-portable.zip