Skip to content

Commit 2ff6aa6

Browse files
Add README and Applications to macOS dmg
1 parent f69b28b commit 2ff6aa6

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

dist/macos/Makefile

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
.PHONY: all app clean mrproper
22

3-
all: app
3+
all: app iaito.dmg
44

55
app: ../../build/iaito.app radare2-unpkg
66
mkdir disk
77
cp -a ../../build/iaito.app disk/
88
scripts/embed-radare2.sh radare2-unpkg disk/iaito.app
9-
cd disk && macdeployqt iaito.app -dmg -verbose=2
10-
mv disk/*.dmg .
9+
macdeployqt disk/iaito.app -verbose=2
10+
11+
iaito.dmg: app
12+
cp doc/README.txt disk/READ_THIS_FIRST.txt
13+
ln -fs /Applications disk/
14+
hdiutil create -format UDZO -fs APFS -volname iaito -srcfolder disk iaito
1115

1216
radare2-unpkg: radare2.pkg
1317
pkgutil --expand-full $< $@
@@ -21,7 +25,7 @@ radare2.pkg:
2125
$(MAKE) -C ../.. QMAKE_FLAGS=IAITO_BUNDLE_R2_APPBUNDLE=true
2226

2327
clean:
24-
rm -rf disk radare2-unpkg
28+
rm -rf radare2-unpkg disk iaito.dmg
2529

2630
mrproper: clean
2731
rm -f radare2.pkg

dist/macos/doc/README.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
IMPORTANT!
2+
3+
To install iaito you can drag and drop the application to /Applications.
4+
But then you are required to run this commands from Terminal before you can execute for the first time.
5+
6+
sudo xattr -c /Applications/iaito.app
7+
sudo codesign --force --deep --sign - /Applications/iaito.app

0 commit comments

Comments
 (0)