Update the build scripts

This commit is contained in:
ema
2025-05-14 02:18:01 +08:00
parent 97f8232767
commit b28fcbb398
14 changed files with 116 additions and 112 deletions

10
Scripts/pack-7z.ps1 Normal file
View File

@@ -0,0 +1,10 @@
$version = git describe --always --tags --exclude latest
Set-Location ../Build
Write-Output "This file makes QuickLook portable." >> .\Package\portable.lock
Remove-Item .\QuickLook-$version.7z -ErrorAction SilentlyContinue
7z.exe a .\QuickLook-$version.7z .\Package\* -t7z -mx=9 -ms=on -m0=lzma2 -mf=BCJ2 -r -y
Remove-Item .\Package\portable.lock