From 6150ae4959d60ea2bbc3e568a7368d0ca2209a6b Mon Sep 17 00:00:00 2001 From: DominusExult Date: Sun, 4 Apr 2021 13:15:21 +0200 Subject: [PATCH] The macOS disk image now contains an url that points at the revision of the build. --- Makefile.am | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index bbfe3d75b..4bfbcb22c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -348,10 +348,7 @@ osxdmg: bundle cp $(srcdir)/macosx/diskback.png ./Exult-snapshot/images/diskback.png cp $(srcdir)/macosx/DS_Store ./Exult-snapshot/.DS_Store ln -s /Applications "./Exult-snapshot/Drag'n'drop here" - touch "./Exult-snapshot/Git $(REVISION)" - echo "read 'icns' (-16455) \"$(srcdir)/macosx/clear.icns\";" >> tmpicnsE.rsrc - Rez -a tmpicnsE.rsrc -o "./Exult-snapshot/Git $(REVISION)" - SetFile -a C "./Exult-snapshot/Git $(REVISION)" + echo "[InternetShortcut]\nURL=https://github.com/exult/exult/commit/$(REVISION)" > "./Exult-snapshot/Git $(REVISION).url" SetFile -a V ./Exult-snapshot/.DS_Store SetFile -a V ./Exult-snapshot/images SetFile -t ttro -c ttxt ./Exult-snapshot/Authors @@ -377,10 +374,7 @@ studiodmg: cp $(srcdir)/macosx/diskback.png ./Studio-snapshot/images/diskback.png cp $(srcdir)/macosx/exult_studio_DS_Store ./Studio-snapshot/.DS_Store ln -s /Applications "./Studio-snapshot/Drag'n'drop here" - touch "./Studio-snapshot/Git $(REVISION)" - echo "read 'icns' (-16455) \"$(srcdir)/macosx/clear.icns\";" >> tmpicnsES.rsrc - Rez -a tmpicnsES.rsrc -o "./Studio-snapshot/Git $(REVISION)" - SetFile -a C "./Studio-snapshot/Git $(REVISION)" + echo "[InternetShortcut]\nURL=https://github.com/exult/exult/commit/$(REVISION)" > "./Studio-snapshot/Git $(REVISION).url" SetFile -a V ./Studio-snapshot/.DS_Store SetFile -a V ./Studio-snapshot/images SetFile -t ttro -c ttxt ./Studio-snapshot/Authors