[Windows] Rework flutter build command
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
$buildName = if ($args[1]) { $args[1] } else { "0.0.0" }
|
||||
$buildNumber = "$buildName-$(Get-Date -Format 'yyyyMMddHHmmss')"
|
||||
|
||||
cd $PSScriptRoot
|
||||
|
||||
# Build the Windows application using Flutter
|
||||
flutter build windows --release
|
||||
flutter build windows --build-name=$buildName --build-number=$buildNumber
|
||||
# Build the Windows installer using Inno Setup Compiler (ISCC.exe)
|
||||
ISCC.exe ./busylight-buddy-windows-installer-builder.iss
|
||||
Reference in New Issue
Block a user