An open-source cross-platform alternative to AirDrop
fix: build issues
Tien Do Nam15fc9a891ce9
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex cef2b762..41a8cc2b 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -321,13 +321,13 @@ jobs:- name: Add DLL filesworking-directory: apprun: |- Copy-Item ../scripts/windows/x64/msvcp140.dll build/windows/runner/Release/- Copy-Item ../scripts/windows/x64/vcruntime140.dll build/windows/runner/Release/- Copy-Item ../scripts/windows/x64/vcruntime140_1.dll build/windows/runner/Release/+ Copy-Item ../scripts/windows/x64/msvcp140.dll build/windows/x64/runner/Release/+ Copy-Item ../scripts/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/+ Copy-Item ../scripts/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/- name: Zip compiled filesworking-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 zipuses: actions/upload-artifact@v4diff --git a/.github/workflows/test_zip.yml b/.github/workflows/test_zip.ymlindex 71bdcaed..b30edf92 100644--- a/.github/workflows/test_zip.yml+++ b/.github/workflows/test_zip.yml@@ -52,13 +52,13 @@ jobs:- name: Add DLL filesworking-directory: apprun: |- Copy-Item ../scripts/windows/x64/msvcp140.dll build/windows/runner/Release/- Copy-Item ../scripts/windows/x64/vcruntime140.dll build/windows/runner/Release/- Copy-Item ../scripts/windows/x64/vcruntime140_1.dll build/windows/runner/Release/+ Copy-Item ../scripts/windows/x64/msvcp140.dll build/windows/x64/runner/Release/+ Copy-Item ../scripts/windows/x64/vcruntime140.dll build/windows/x64/runner/Release/+ Copy-Item ../scripts/windows/x64/vcruntime140_1.dll build/windows/x64/runner/Release/- name: Zip compiled filesworking-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 zipuses: actions/upload-artifact@v4diff --git a/scripts/compile_windows_msix_signed.ps1 b/scripts/compile_windows_msix_signed.ps1index a1d96ea2..8f5b12be 100644--- a/scripts/compile_windows_msix_signed.ps1+++ b/scripts/compile_windows_msix_signed.ps1@@ -12,7 +12,7 @@ fvm flutter cleanfvm flutter pub getfvm dart run msix:create --certificate-path ../secrets/windows-tienisto.pfx --certificate-password $CERTIFICATE_PASSWORD-Move-Item -Path build/windows/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64.msix+Move-Item -Path build/windows/x64/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64.msixcd ..diff --git a/scripts/compile_windows_msix_store.ps1 b/scripts/compile_windows_msix_store.ps1index bafd14ea..7f2fd24d 100644--- a/scripts/compile_windows_msix_store.ps1+++ b/scripts/compile_windows_msix_store.ps1@@ -7,6 +7,6 @@ fvm flutter pub getfvm flutter pub run build_runner build -dfvm flutter pub run msix:create --store-Move-Item -Path build/windows/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64-store.msix+Move-Item -Path build/windows/x64/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64-store.msixWrite-Output 'Generated Windows msix!'diff --git a/scripts/compile_windows_zip.ps1 b/scripts/compile_windows_zip.ps1index dae07467..e38ef310 100644--- a/scripts/compile_windows_zip.ps1+++ b/scripts/compile_windows_zip.ps1@@ -8,7 +8,7 @@ fvm flutter cleanfvm flutter pub getfvm flutter build windows-Compress-Archive -Path build/windows/runner/Release/* -DestinationPath LocalSend-XXX-windows-x86-64.zip+Compress-Archive -Path build/windows/x64/runner/Release/* -DestinationPath LocalSend-XXX-windows-x86-64.zipcd ..