Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 3.06 KB

README.md

File metadata and controls

71 lines (55 loc) · 3.06 KB

Spectrecoin Installer

GitHub version HitCount Build Status

This repository contains various components to create standalone installer packages or to update an existing Spectrecoin installation.

Linux

For the supportet Linux distributions there's a simple updater script located under the folder linux. This is the easiest way to update an existing installation, as long as we cannot provide dedicated packages.

Requirements

The script is able to update an existing Spectrecoin installation resp. backup and update the Spectrecoin binaries located on /usr/local/bin/.

To do so, the following additional requirements must be installed:

  • bash (to execute the updater script itself)
  • curl (to download components to install)
  • sudo (to replace binaries)

How to use

At first, spectrecoind must be stopped to replace the binaries.

Execute the updater script afterwards with

curl -L -s https://raw.githubusercontent.com/spectrecoin/installer/master/linux/updateSpectrecoin.sh | sudo bash -s

This will update the local installation to the latest release.

To update with a dedicated (develop-) version, just add the corresponding tag to the cmdline. The following example shows the installation of Build129:

curl -L -s https://raw.githubusercontent.com/spectrecoin/installer/master/linux/updateSpectrecoin.sh | sudo bash -s Build129

What it does

  1. Determine current OS by examining /etc/os-release
  2. Download checksum file
  3. Download binary archive
  4. Verify md5, sha1, sha256 and sha512 hashes
  5. Backup current binaries if no backup of current version exists.
  6. Install new binaries
  7. Cleanup download folder

Spectrecoin Shell UI

If you're using the Spectrecoin Shell UI, the update script is fully integrated since version 2.5. Go to Advanced -> Update to use it.

Windows

Requirements

  • Nullsoft Scriptable Install System NSIS v3.x
  • Plugins:
  • Setup env var NSISDIR with path to installed NSIS folder

Build installer

  • Extract Spectrecoin archive to <clone-location>/windows/content/Spectrecoin/
  • Execute windows/createInstaller.bat as Administrator or
  • run NSIS as administrator and load <clone-location>/windows/Spectrecoin.nsi

The resulting Spectrecoin-Installer.exe will be located on <clone-location>/windows/.