From 8a7a1146710a0bc4ac2bd764d86ad8e6d1569bb7 Mon Sep 17 00:00:00 2001 From: sawka Date: Wed, 11 Jan 2023 22:20:23 -0800 Subject: [PATCH] add create-dmg-m1 --- scripthaus.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripthaus.md b/scripthaus.md index 8c574c71..d94721f9 100644 --- a/scripthaus.md +++ b/scripthaus.md @@ -88,3 +88,19 @@ rm Prompt.dmg rw.Prompt.dmg "Prompt.dmg" \ "out/Prompt-darwin-x64/Prompt.app" ``` + +```bash +# @scripthaus command create-dmg-m1 +# @scripthaus cd :playbook +rm Prompt.dmg rw.Prompt.dmg +../../create-dmg/create-dmg/create-dmg \ + --volname "Prompt" \ + --window-pos 200 120 \ + --window-size 600 300 \ + --icon-size 100 \ + --icon "Prompt.app" 200 130 \ + --hide-extension "Prompt.app" \ + --app-drop-link 400 125 \ + "Prompt.dmg" \ + "out/Prompt-darwin-arm64/Prompt.app" +```