Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 3.1 KB

README.md

File metadata and controls

78 lines (59 loc) · 3.1 KB

Alias Installer

GitHub version HitCount Build Status

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

Licensing

  • SPDX-FileCopyrightText: © 2020 Alias Developers
  • SPDX-FileCopyrightText: © 2016 SpectreCoin Developers

SPDX-License-Identifier: MIT

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 Alias installation resp. backup and update the Alias wallet 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, aliaswalletd must be stopped to replace the binaries.

Execute the updater script afterwards with

curl -L -s https://raw.githubusercontent.com/aliascash/installer/master/linux/updateAliaswallet.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/aliascash/installer/master/linux/updateAliaswallet.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 sha256 hashes
  5. Backup current binaries if no backup of current version exists.
  6. Install new binaries
  7. Cleanup download folder

Alias Shell UI

If you're using the Alias 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 NSIS_DIR with path to installed NSIS folder

Build installer

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

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