krallin / gradle-macappbundle

Automatically exported from code.google.com/p/gradle-macappbundle
1 stars 0 forks source link

Building .app or .dmg on linux #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

i was trying to build an .app on linux, it builded it without any errors, but 
when i zipped it and downloaded it to a mac, it refused to start the app..

I just wan't to know if this is on the todo-list to fix?

also createDmg required hdiutil, which doesn't exists for linux, but there are 
workarrounds to make it, can this also be added?

thanks!

Original issue reported on code.google.com by maescool on 25 Feb 2012 at 3:36

GoogleCodeExporter commented 9 years ago

I have fixed the linux issue. The problem was copying the JavaApplicationStub. 
In version 1.0.3 I was copying it from the filesystem, which works fine on 
macs, but failed silently on linux. Now the stub is bundled in the plugin, so 
should work on linux.

The createDMG only works on macs as it uses hdiutil internally, which is a mac 
only application. I have seen rumors that it is possible to create a DMG on 
linux using 3rd party tools, but have not figured it out.

Original comment by crotwell@seis.sc.edu on 5 Mar 2012 at 6:56

GoogleCodeExporter commented 9 years ago
oh Great! thanks for the fix

for dmg
there is a way by creating a filebased filesystem, formatting it as hfsplus, 
mounting it with loop.. but that requires root access..
other tools i have to look into..

Original comment by maescool on 5 Mar 2012 at 8:32