From 30582e420c0b752b50521009073ae8a29b4a9293 Mon Sep 17 00:00:00 2001 From: vatara Date: Sat, 6 Mar 2021 10:20:17 -0500 Subject: [PATCH] Update build scripts --- SearchPatrol.Wpf/Installer/build-both.ps1 | 6 ++++++ SearchPatrol.Wpf/Installer/build-installer.ps1 | 4 ++++ SearchPatrol.Wpf/Installer/build-standalone.ps1 | 5 ++--- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 SearchPatrol.Wpf/Installer/build-both.ps1 create mode 100644 SearchPatrol.Wpf/Installer/build-installer.ps1 diff --git a/SearchPatrol.Wpf/Installer/build-both.ps1 b/SearchPatrol.Wpf/Installer/build-both.ps1 new file mode 100644 index 0000000..bdd2082 --- /dev/null +++ b/SearchPatrol.Wpf/Installer/build-both.ps1 @@ -0,0 +1,6 @@ +Push-Location $PSScriptRoot +msbuild .. -p:Configuration=Release /p:Platform=x64 +# compress-archive makes zips that don't work many places because it uses \ instead of / for folders +.\7z u SearchPatrol-standalone.zip ../bin/x64/Release/* +iscc SearchPatrolSetup.iss +Pop-Location diff --git a/SearchPatrol.Wpf/Installer/build-installer.ps1 b/SearchPatrol.Wpf/Installer/build-installer.ps1 new file mode 100644 index 0000000..5ee15c7 --- /dev/null +++ b/SearchPatrol.Wpf/Installer/build-installer.ps1 @@ -0,0 +1,4 @@ +Push-Location $PSScriptRoot +msbuild .. -p:Configuration=Release /p:Platform=x64 +iscc SearchPatrolSetup.iss +Pop-Location diff --git a/SearchPatrol.Wpf/Installer/build-standalone.ps1 b/SearchPatrol.Wpf/Installer/build-standalone.ps1 index 6151684..f91e3cb 100644 --- a/SearchPatrol.Wpf/Installer/build-standalone.ps1 +++ b/SearchPatrol.Wpf/Installer/build-standalone.ps1 @@ -1,6 +1,5 @@ Push-Location $PSScriptRoot - +msbuild .. -p:Configuration=Release /p:Platform=x64 # compress-archive makes zips that don't work many places because it uses \ instead of / for folders .\7z u SearchPatrol-standalone.zip ../bin/x64/Release/* - -Pop-Location \ No newline at end of file +Pop-Location