mirror of
https://github.com/localsend/localsend.git
synced 2026-06-23 04:10:07 +00:00
chore: update scripts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# UNCOMMENT THESE LINES TO BUILD FROM LATEST COMMIT
|
||||
# git reset --hard origin/main
|
||||
# git pull
|
||||
|
||||
param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$CERTIFICATE_PASSWORD
|
||||
)
|
||||
|
||||
fvm flutter clean
|
||||
fvm flutter pub get
|
||||
fvm flutter pub run build_runner build -d
|
||||
fvm flutter pub 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
|
||||
|
||||
Write-Output 'Generated Signed Windows msix!'
|
||||
@@ -2,9 +2,11 @@
|
||||
# git reset --hard origin/main
|
||||
# git pull
|
||||
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter pub run build_runner build -d
|
||||
flutter pub run msix:create --store
|
||||
fvm flutter clean
|
||||
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
|
||||
|
||||
Write-Output 'Generated Windows msix!'
|
||||
|
||||
Reference in New Issue
Block a user