Mercurial Hosting > editor
comparison build.sh @ 60:855669ece914
start mac installer
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 04 Jun 2025 22:24:57 -0600 |
| parents | d5681da8ece8 |
| children | 8a1dd22beed0 |
comparison
equal
deleted
inserted
replaced
| 59:824f6d74b1d4 | 60:855669ece914 |
|---|---|
| 27 | 27 |
| 28 tar -cf ../website/src/download/luan_editor.tar luan_editor | 28 tar -cf ../website/src/download/luan_editor.tar luan_editor |
| 29 | 29 |
| 30 luan_editor/install.sh || sudo luan_editor/install.sh | 30 luan_editor/install.sh || sudo luan_editor/install.sh |
| 31 | 31 |
| 32 mkdir mac | |
| 33 mkdir mac/Luan_Editor.app | |
| 34 mkdir mac/Luan_Editor.app/Contents | |
| 35 mkdir mac/Luan_Editor.app/Contents/MacOS | |
| 36 mkdir mac/Luan_Editor.app/Contents/Resources | |
| 37 mkdir mac/Luan_Editor.app/Contents/Resources/CLI | |
| 38 | |
| 39 cp ../scripts/mac/Info.plist mac/Luan_Editor.app/Contents | |
| 40 cp ../scripts/mac/launcher mac/Luan_Editor.app/Contents/MacOS | |
| 41 cp ../scripts/mac/install.sh mac/Luan_Editor.app/Contents/Resources/CLI | |
| 42 cp ../scripts/mac/uninstall.sh mac/Luan_Editor.app/Contents/Resources/CLI | |
| 43 cp -r luan_editor/jars mac/Luan_Editor.app/Contents/Resources | |
| 44 cp -r luan_editor/dictionaries mac/Luan_Editor.app/Contents/Resources | |
| 45 | |
| 46 create-dmg \ | |
| 47 --volname "Luan Editor" \ | |
| 48 --window-pos 200 120 \ | |
| 49 --window-size 500 300 \ | |
| 50 --icon-size 100 \ | |
| 51 --icon "Luan_Editor.app" 100 100 \ | |
| 52 --app-drop-link 380 100 \ | |
| 53 "Luan_Editor.dmg" \ | |
| 54 "mac/" | |
| 55 | |
| 32 echo done | 56 echo done |
