| |
- get_desktop()
- Returns the location of the current user's desktop directory
by reading the environment variable "HOME", and assuming that there
is a "HOME/Desktop" directory
- link_apple_launcher(birch_dir, desktop_dir)
- Makes a launcher application for OS X (tested on 10.5.8) of the format
biolegato.app. The launcher is just a wrapper for an apple script
that calls the system biolegato, and should use system paths.
The this method copies a template launcher called "biolegato.app"
to the desktop that is assumed to be in the current working directory
in adirectory called "osx_launcher", if this changes then this method
will need to be updated.
Once the launcher is copied, all the contents of the BIRCH directory
specified by the environment variable $BIRCH will be symbolically
linked into the applications resource directory under:
~/biolegato.app/Contents/Resources"
@desktop_dir: the location of the user's desktop directory,
where the launcher will be placed
- link_gnome_launcher(birch_dir, desktop_dir)
- Creates a launcher of the form biolegato.desktop for use on
linux desktops such as GNOME (v2+) and KDE (v3.5+). May also work
on other desktops such as qt, etc, but not yet tested
@desktop_dir: the location of the user's desktop directory,
where the launcher will be placed
- link_win_launcher(birch_dir)
- Creates a shortcut to the windows launcher script to run biolegato (birch)
- main(BIRCH, PLATFORM)
|