/datashare-installer

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

Datashare installers for Mac, Windows and Linux

You will find several assets in release list:

  • datashare-6.5.0.pkg : installer for MacOS
  • datashare-6.5.0.exe : installer for Windows
  • datashare-6.5.0.deb : installer for Ubuntu/Debian
  • datashare-6.5.0.sh : bash shell script to run datashare with Docker.

To compile installers, just run make VERSION=10.15.0 clean all in each OS directory.

What installers do?

  • MacOS only: ensure either XCode Command Line Tools or XCode are installed
  • MacOS only: ensure either MacPorts or Homebrew are installed
  • check if the JVM is installed and if not install it
  • check if the computer has tesseract OCR library installed and install it
  • installing a launcher script that uses -Jjava and sets the right runtime options for Datashare.

How they are built?

Windows

It is based on Nullsoft Scriptable Install System.

You will need to install the package nsis

You will also need the inetc plugin. Just copy the Plugin/x86-ansi/INetC.dll under /usr/share/nsis/Plugins/x86-ansi/

You will also need the EnVar plugin. Just copy the Plugin/x86-ansi/EnVar.dll under /usr/share/nsis/Plugins/x86-ansi/

MacOS

Based on this tutorial (cf the Makefile)

You have to install the cpio package, bomutils and the xar tarball.

Linux

It's a simple shell script that just runs docker-compose.