[mojosetup] Multiple architectures of installer?

Ryan C. Gordon icculus at icculus.org
Sun Oct 29 13:55:18 EDT 2017


> Is it possible to build a single installer which will run both 32- and 
> 64- bit? The data I could deal with conditionally, but I'd really like 
> to have a single file for both, especially since not all Linux 64-bit 
> distributions include 32-bit (sigh).

Since FatELF didn't work out, your options here are:
- Ship two separate installers.
- Ship two installer binaries wrapped in a makeself shell script that 
will run the correct binary and find the installer data appropriately.
- Don't bother shipping a 32-bit binary.

> Also, can one change the default size of the install window? I find it's 
> far too large for how few options I provide. :)

This is the (totally not ideal!) code in gui_gtkplus2.c...

     gtk_widget_set_size_request(notebook,
                           (gint) (((float) gdk_screen_width()) * 0.4),
                           (gint) (((float) gdk_screen_height()) * 0.4));

...you could make that 0.4 smaller; that basically says "make it 40% of 
the screen size." I'm sure some developer that is familiar with good GUI 
design is cringing right now.  :)

--ryan.



More information about the mojosetup mailing list