Skip to content

An open-source cross-platform alternative to AirDrop

ci: create settings.json for portable zip

Tien Do Name587772fefb8
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0f5742f7..775afd7c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -230,9 +230,13 @@ jobs:
working-directory: app
run: flutter build windows
+ - name: Create empty settings.json
+ working-directory: app
+ run: echo {} > build/windows/x64/runner/Release/settings.json
+
- name: Zip compiled files
working-directory: app
- run: Compress-Archive -Path build/windows/runner/Release/* -DestinationPath LocalSend.zip
+ run: Compress-Archive -Path build/windows/x64/runner/Release/* -DestinationPath LocalSend.zip
- name: Upload zip
uses: actions/upload-artifact@v3