Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OSX dmg #10

Open
eyedeekay opened this issue Dec 6, 2018 · 1 comment
Open

Mac OSX dmg #10

eyedeekay opened this issue Dec 6, 2018 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@eyedeekay
Copy link
Owner

eyedeekay commented Dec 6, 2018

I need to figure out how to package this as a proper Mac application image. I've made very little progress here. Probably going to order a Mac Mini or something soon. There is a non-zero chance I will be unable to finish this by January without one.

@eyedeekay eyedeekay added the help wanted Extra attention is needed label Dec 6, 2018
@eyedeekay
Copy link
Owner Author

I have no way to see how well it works yet, but this section of Makefile gets sent to travis-ci and travis-ci ends up with a dmg file. It contains the linux shell script launcher and adds two scripts to the volume which launch the browser. Hopefully. I should be ready to test it soon.

recopy-osx:
	rm -rf firefox.launchers/osx/firefox.profile.i2p/
	cp -rv firefox.profile.i2p firefox.launchers/osx/firefox.profile.i2p/
	cp -rv firefox.launchers/gnulinux/install.sh firefox.launchers/osx/helper.sh
	cp -rv assets firefox.launchers/assets
	cp MACOSX.md firefox.launchers/osx/README.md

osx: recopy-osx
	cp -rv firefox.launchers/osx "I2PBrowser"
	create-dmg "I2PBrowser.dmg" \
        --volname "I2PBrowser" \
        --volicon "I2PBrowser/assets/i2pbrowser-icon.icns" \
        --background "I2PBrowser/assets/ui2pbrowser_logo.png" \
        --window-pos 200 120 \
        --window-size 800 400 \
        --icon-size 128 \
        --hide-extension "I2PBrowser.sh" \
        --hide-extension "I2PBrowser-Private.sh" \
        --app-drop-link 600 185 \
        --hdiutil-verbose \
        "I2PBrowser/"
	rm -rf "I2PBrowser"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant