From c9ec98e21b8d0f4f8854b8da55d6839c093c9e1c Mon Sep 17 00:00:00 2001 From: Peter Repukat Date: Tue, 2 Aug 2022 22:24:01 +0200 Subject: [PATCH] Add bundle Zip script --- bundle-zip.ps1 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bundle-zip.ps1 diff --git a/bundle-zip.ps1 b/bundle-zip.ps1 new file mode 100644 index 0000000..37b494a --- /dev/null +++ b/bundle-zip.ps1 @@ -0,0 +1,22 @@ +powershell.exe .\download_release_deps.ps1 + +cd ./x64/Release/ + +Get-ChildItem -Rec | Where {$_.Extension -match "lib"} | Remove-Item +$env:Path = "$env:QTDIR\bin;$env:Path" + +windeployqt.exe --release --qmldir ../../GlosSIConfig/qml ./GlosSIConfig.exe + + +Copy-Item "..\..\deps\SFML\out\Release\lib\RelWithDebInfo\sfml-graphics-2.dll" -Destination "." +Copy-Item "..\..\deps\SFML\out\Release\lib\RelWithDebInfo\sfml-system-2.dll" -Destination "." +Copy-Item "..\..\deps\SFML\out\Release\lib\RelWithDebInfo\sfml-window-2.dll" -Destination "." +Copy-Item "..\..\GlosSIConfig\GetAUMIDs.ps1" -Destination "." +Copy-Item "..\..\HidHideMSI.msi" -Destination "." +Copy-Item "..\..\ViGEmBusSetup_x64.msi" -Destination "." +Copy-Item "..\..\vc_redist.x64.exe" -Destination "." +Copy-Item "..\..\LICENSE" -Destination "./LICENSE" +Copy-Item "..\..\QT_License" -Destination "./QT_License" +Copy-Item "..\..\THIRD_PARTY_LICENSES.txt" -Destination "./THIRD_PARTY_LICENSES.txt" + +7z a GlosSI-snapshot.zip * \ No newline at end of file