diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cef2b762..41a8cc2b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -321,13 +321,13 @@ jobs: - name: Add DLL files working-directory: app run: | - 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 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@v4 diff --git a/.github/workflows/test_zip.yml b/.github/workflows/test_zip.yml index 71bdcaed..b30edf92 100644 --- a/.github/workflows/test_zip.yml +++ b/.github/workflows/test_zip.yml @@ -52,13 +52,13 @@ jobs: - name: Add DLL files working-directory: app run: | - 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 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@v4 diff --git a/scripts/compile_windows_msix_signed.ps1 b/scripts/compile_windows_msix_signed.ps1 index a1d96ea2..8f5b12be 100644 --- a/scripts/compile_windows_msix_signed.ps1 +++ b/scripts/compile_windows_msix_signed.ps1 @@ -12,7 +12,7 @@ fvm flutter clean fvm flutter pub get fvm 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.msix cd .. diff --git a/scripts/compile_windows_msix_store.ps1 b/scripts/compile_windows_msix_store.ps1 index bafd14ea..7f2fd24d 100644 --- a/scripts/compile_windows_msix_store.ps1 +++ b/scripts/compile_windows_msix_store.ps1 @@ -7,6 +7,6 @@ fvm flutter pub get fvm flutter pub run build_runner build -d fvm 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.msix Write-Output 'Generated Windows msix!' diff --git a/scripts/compile_windows_zip.ps1 b/scripts/compile_windows_zip.ps1 index dae07467..e38ef310 100644 --- a/scripts/compile_windows_zip.ps1 +++ b/scripts/compile_windows_zip.ps1 @@ -8,7 +8,7 @@ fvm flutter clean fvm flutter pub get fvm 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.zip cd ..