generated from MrSphay/codex-agent-repository-kit
Polish GUI and add app icon
All checks were successful
Build MrTrust / build (push) Successful in 1m18s
All checks were successful
Build MrTrust / build (push) Successful in 1m18s
This commit is contained in:
@@ -20,6 +20,7 @@ $output = Resolve-FullPath $OutputDirectory
|
||||
$packageRoot = Join-Path $output "MrTrust-$Version"
|
||||
$zipPath = Join-Path $output "MrTrust-$Version.zip"
|
||||
$exePath = Join-Path $output "MrTrust.exe"
|
||||
$iconPath = Join-Path $root "assets\MrTrust.ico"
|
||||
|
||||
if (Test-Path -LiteralPath $packageRoot) {
|
||||
Remove-Item -LiteralPath $packageRoot -Recurse -Force
|
||||
@@ -30,6 +31,10 @@ New-Item -ItemType Directory -Force -Path (Join-Path $packageRoot "scripts") | O
|
||||
New-Item -ItemType Directory -Force -Path (Join-Path $packageRoot "assets\certificates") | Out-Null
|
||||
New-Item -ItemType Directory -Force -Path (Join-Path $packageRoot "docs") | Out-Null
|
||||
|
||||
if (-not (Test-Path -LiteralPath $iconPath)) {
|
||||
& (Join-Path $root "scripts\New-MrTrustIcon.ps1") -OutputPath $iconPath
|
||||
}
|
||||
|
||||
& (Join-Path $root "scripts\Build-MrTrustExe.ps1") -OutputPath $exePath
|
||||
|
||||
if ($SigningThumbprint) {
|
||||
@@ -52,6 +57,7 @@ if ($SigningThumbprint) {
|
||||
Copy-Item -LiteralPath $exePath -Destination $packageRoot
|
||||
Copy-Item -LiteralPath (Join-Path $root "MrTrust.ps1") -Destination $packageRoot
|
||||
Copy-Item -LiteralPath (Join-Path $root "README.md") -Destination $packageRoot
|
||||
Copy-Item -LiteralPath $iconPath -Destination (Join-Path $packageRoot "assets")
|
||||
Copy-Item -LiteralPath (Join-Path $root "scripts\Install-MrTrust.ps1") -Destination (Join-Path $packageRoot "scripts")
|
||||
Copy-Item -LiteralPath (Join-Path $root "scripts\Uninstall-MrTrust.ps1") -Destination (Join-Path $packageRoot "scripts")
|
||||
Copy-Item -LiteralPath (Join-Path $root "scripts\Start-MrTrustGui.ps1") -Destination (Join-Path $packageRoot "scripts")
|
||||
|
||||
Reference in New Issue
Block a user