fix: geosite download

This commit is contained in:
Hiddify
2023-08-20 11:14:27 +00:00
parent e5d46dc600
commit 78970d1c2e
2 changed files with 3 additions and 3 deletions

View File

@@ -127,13 +127,13 @@ jobs:
foreach ($EXT in $EXT_ARRAY) { foreach ($EXT in $EXT_ARRAY) {
# Find all files with this extension in the current directory, and copy them to "out" directory # Find all files with this extension in the current directory, and copy them to "out" directory
Get-ChildItem -Recurse -File -Filter "*setup.$EXT" | Copy-Item -Destination "out" -ErrorAction SilentlyContinue Get-ChildItem -Recurse -File -Filter "*setup.$EXT" | Copy-Item -Destination "out" -ErrorAction SilentlyContinue
move out\*setup.$EXT out\${{ matrix.platform }}-x64-setup.$EXT move out\*setup.$EXT out\hiddify-${{ matrix.platform }}-x64-setup.$EXT
Get-ChildItem -Recurse -File -Filter "*.$EXT" Get-ChildItem -Recurse -File -Filter "*.$EXT"
} }
mkdir ${{ matrix.platform }}-portable mkdir ${{ matrix.platform }}-portable
xcopy /s /v D:\a\hiddify-next\hiddify-next\build\windows\runner\Release\ .\${{ matrix.platform }}-portable\ xcopy /s /v D:\a\hiddify-next\hiddify-next\build\windows\runner\Release\ .\${{ matrix.platform }}-portable\
Compress-Archive ${{ matrix.platform }}-portable out\${{ matrix.platform }}-x64-portable.zip Compress-Archive ${{ matrix.platform }}-portable out\hiddify-${{ matrix.platform }}-x64-portable.zip
- name: Copy to out unix - name: Copy to out unix
if: matrix.platform != 'windows' if: matrix.platform != 'windows'

View File

@@ -45,7 +45,7 @@ macos-libs:
get-geo-assets: get-geo-assets:
curl -L https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db -o $(GEO_ASSETS_DIR)/geoip.db curl -L https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db -o $(GEO_ASSETS_DIR)/geoip.db
curl -L https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db -o $(GEO_ASSETS_DIR)/geosite.db curl -L https://github.com/hiddify/sing-geosite/releases/latest/download/geosite.db -o $(GEO_ASSETS_DIR)/geosite.db
build-headers: build-headers:
make -C libcore -f Makefile headers && mv $(BINDIR)/hiddify-libcore-headers.h $(BINDIR)/libcore.h make -C libcore -f Makefile headers && mv $(BINDIR)/hiddify-libcore-headers.h $(BINDIR)/libcore.h