Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

GT Installer is a set of tools for installation of various software system artefacts such as shared libraries or projects

License

Notifications You must be signed in to change notification settings

feenkcom/gtoolkit-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GToolkit Installer

GT Installer is a set of tools for installation of various software system artefacts such as shared libraries or projects

Installation

The following script loads GT Installer in Pharo:

Metacello new
  baseline: 'GToolkitInstaller';
  repository: 'github://feenkcom/gtoolkit-installer/src';
  load

Installer does not depend on GToolkit

Dependency

Add me to your baseline:

spec
  baseline: 'GToolkitInstaller'
   with: [ spec repository: 'github://feenkcom/gtoolkit-installer/src' ]

Library Installer

Library Installer helps with downloading and installation shared libraries along side the image or vm. I should be configured by the user for a specific library.

The following example shows how Library Installer is configured for the Sparta/Moz2D library.

| installer |
installer := GtLibraryInstaller new.
installer library: 'Moz2D'.
installer version: 'development'.
installer binary: 'libMoz2D'.
installer url: 'https://dl.feenk.com/{library}/{platform}/{version}/{arch}/{binary}.{extension}'.
installer icon: (SpartaCanvas logo scaledToSize: 50@50).
installer running: [ MozServices isRunning ].
installer works: [ MozLibrary uniqueInstance hasModule ].
installer postInstall: [ MozServices start ].

Running the installer:

installer run

Library Installer UI

Library Installer supports visual logging of the installation process. It can is optional and should be connected to the installer explicitely:

| ui |
ui := GtLibraryInstallerMorph new.
ui installer: installer.
ui extent: 650@300.
ui openInBorderlessWindow.

The UI must be connected to the Installer before begin of the installation process!

About

GT Installer is a set of tools for installation of various software system artefacts such as shared libraries or projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published