Export as App for other Platforms?

Request a new command, feature, or improvement

Moderator: MSandro

Post Reply
User avatar
Picochilla
Posts: 28
Joined: Sep 23rd, '17, 17:44

Export as App for other Platforms?

Post by Picochilla » Mar 30th, '18, 07:33

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.

JohnM
Posts: 379
Joined: Sep 11th, '15, 14:42

Re: Export as App for other Platforms?

Post by JohnM » Mar 30th, '18, 13:48

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.

User avatar
Picochilla
Posts: 28
Joined: Sep 23rd, '17, 17:44

Re: Export as App for other Platforms?

Post by Picochilla » Apr 3rd, '18, 13:14

Thank you very much, I'll maybe try to realize this with you tipps by my self.

Post Reply