Page 1 of 1

Export as App for other Platforms?

Posted: Mar 30th, '18, 07:33
by Picochilla
Hi, I realy like to export GP projects as app, but would it be posible to add a something like a dropdown to the "Export as App" button to allow exports for all supportet platforms?
So I would be able to create a GP project on Windows and export it for Windows, Linux and Mac. THis would be very helpful.

Thanks.

Re: Export as App for other Platforms?

Posted: Mar 30th, '18, 13:48
by JohnM
Yes, I agree, that would be really cool!

It should be possible, but it might be a while before I get to it.

Meanwhile, a workaround is to open the project in GP and "export as app" on each platform. You'd probably want to verify that you app actually runs on that platform anyhow, right?

P.S. In case anyone wants to try doing this as a GP extension, the relevant code is in AppMaker.gp. It works by appending an embedded file system (in Zip format) to the executable file for the platform. Inside the embedded file system are the files GP needs to run, the project file, and a startup script that opens and runs the project file. The MacOS case is a bit more complicated because it needs to make a Mac application bundle, so I'd start with Linux and Windows.

Re: Export as App for other Platforms?

Posted: Apr 3rd, '18, 13:14
by Picochilla
Thank you very much, I'll maybe try to realize this with you tipps by my self.