mirror of
https://github.com/localsend/localsend.git
synced 2026-06-23 04:10:07 +00:00
fix: build issues
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ..
|
||||
|
||||
|
||||
@@ -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!'
|
||||
|
||||
@@ -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 ..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user