updated release script

This commit is contained in:
Mark Gregory
2026-11-03 15:08:34 +00:00
parent 6d4a68d219
commit 008e9bc175
6 changed files with 234 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
import AppKit
// Reuse the approved application icon; no artwork or user files are altered.
guard CommandLine.arguments.count == 3,
let icon = NSImage(contentsOfFile:CommandLine.arguments[1]),
NSWorkspace.shared.setIcon(icon,forFile:CommandLine.arguments[2],options:[]) else {
fputs("Could not set the disk image Finder icon.\n",stderr)
exit(1)
}