osx - Create mac DMG file on windows -


we've got application produces installer windows , mac (app works under windows). finished, last step create dmg. possible on windows?

problem solved. i've used mkisofs create dmg. gradle script produces dmg file:

apply plugin: 'base'  task build << {     if (!project.hasproperty('dmgbuilddir')) {         project.ext.set('dmgbuilddir', builddir.absolutepath)     }     def mkisofs = new file(project.projectdir, 'src/main/resources/mkisofs.exe').getabsolutepath()     ant.exec(executable:mkisofs, failonerror: false, resultproperty: 'builddmgrc') {         arg(value: '-j')         arg(value: '-r')         arg(value: '-o')         arg(value: dmgname+'.dmg')         arg(value: '-mac-name')         arg(value: '-v')         arg(value:  dmglabel)         arg(value: '-apple')         arg(value: '-v')         arg(value: '-dir-mode')         arg(value: '777')         arg(value: '-file-mode')         arg(value: '777')         arg(value: new file(builddir, 'installer'))     }     if (!ant.properties['builddmgrc'].equals('0')) {         throw new exception('ant.exec failed rc: '+ant.properties['builddmgrc'])     } } 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -