From 804d949aac4ac18e6f813ec5daed315dbd88cc08 Mon Sep 17 00:00:00 2001 From: iGoX Date: Wed, 25 Mar 2026 12:59:00 +0100 Subject: [PATCH] [Windows] Rework flutter build command --- windows/build-installer.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/build-installer.ps1 b/windows/build-installer.ps1 index d3cf9f3..f0f2253 100644 --- a/windows/build-installer.ps1 +++ b/windows/build-installer.ps1 @@ -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 \ No newline at end of file