A simple general-purpose installation wizard to install a program using a bash configuration file.
-
Generate the binary executable using your project's build chain. For the contained sample project, run the following commands:
cd src make
-
Create a bash configuration file with all the variable contained in
config.sh
. To install the contained sample project, the provided configuration file should be used. -
Run the Linux Installation Wizard with the configuration file as the only argument. A Windows installer has not yet been developed.
./installer_linux.sh config.sh
-
Close programs and logout (if necessary) to complete the installation.
File extensions, inter alia, are used to determine the Multipurpose Internet Mail Extension (MIME) type of a file. The installer saves the icons for any associated file MIME types in the default hicolor
theme. See Freedesktop's article on Directory Layout. If using a different theme, the displayed icon will prefer a more general icon from the same theme than a more specific icon from an inherited theme in order to preserve a consistent style. See Icon Naming Guidelines. Therefore, if using the text
MIME type, and if an icon theme defines an icon to display for generic text icons, then a custom icon will not appear for a specialized text
MIME type unless that MIME type icon is specifically installed in the icon theme being used.
However, this rule does not apply to the application
MIME type, as a specialized icon should be preferred for binary data over a themed icon. To set an icon for a file with a MIME type to be processed by the installed application, prefer the application
MIME type rather than other MIME types such as text
. Even if the file is human-readable text, if it is in a format specifically tailored to your application, use the application
MIME type.
The installer is currently hardcoded to support exactly two MIME types for an application. A future release should enable a configurable number of MIME types to be added for each application.