Skip to content

jgoossen851/hogwarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hogwarts: The general purpose installation wizard creator

A simple general-purpose installation wizard to install a program using a bash configuration file.

Using the installation wizard

  1. Generate the binary executable using your project's build chain. For the contained sample project, run the following commands:

    cd src
    make
  2. 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.

  3. 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
  4. Close programs and logout (if necessary) to complete the installation.

Notes

MIME types

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.

Number of supported MIME types

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.

About

A general purpose installation wizard

Resources

License

Stars

Watchers

Forks

Packages

No packages published