mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
write the full dmg name
This commit is contained in:
parent
132c0dacde
commit
037664a1c8
@ -77,7 +77,9 @@ open out/Prompt-darwin-x64/Prompt.app
|
||||
```bash
|
||||
# @scripthaus command create-dmg
|
||||
# @scripthaus cd :playbook
|
||||
rm Prompt.dmg rw.Prompt.dmg
|
||||
DMG_VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||
DMG_NAME="prompt-macos-x86-${DMG_VERSION}.dmg"
|
||||
rm *.dmg
|
||||
../../create-dmg/create-dmg/create-dmg \
|
||||
--volname "Prompt" \
|
||||
--window-pos 200 120 \
|
||||
@ -86,14 +88,16 @@ rm Prompt.dmg rw.Prompt.dmg
|
||||
--icon "Prompt.app" 200 130 \
|
||||
--hide-extension "Prompt.app" \
|
||||
--app-drop-link 400 125 \
|
||||
"Prompt.dmg" \
|
||||
$DMG_NAME \
|
||||
"out/Prompt-darwin-x64/Prompt.app"
|
||||
```
|
||||
|
||||
```bash
|
||||
# @scripthaus command create-dmg-m1
|
||||
# @scripthaus cd :playbook
|
||||
rm Prompt.dmg rw.Prompt.dmg
|
||||
DMG_VERSION=$(node -e 'console.log(require("./version.js"))')
|
||||
DMG_NAME="prompt-macos-arm64-${DMG_VERSION}.dmg"
|
||||
rm *.dmg
|
||||
../../create-dmg/create-dmg/create-dmg \
|
||||
--volname "Prompt" \
|
||||
--window-pos 200 120 \
|
||||
@ -102,6 +106,6 @@ rm Prompt.dmg rw.Prompt.dmg
|
||||
--icon "Prompt.app" 200 130 \
|
||||
--hide-extension "Prompt.app" \
|
||||
--app-drop-link 400 125 \
|
||||
"Prompt.dmg" \
|
||||
$DMG_NAME \
|
||||
"out/Prompt-darwin-arm64/Prompt.app"
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user