fix: geosite download
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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'
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user