Skip to content

Installation

Joshua Miller edited this page Dec 29, 2020 · 8 revisions

Two types of releases are available:

  • CLI: A command-line interface designed for scripted/automated usage. Separate versions have been compiled for windows/linux/mac.
  • UI: A visual user-interface for live-previewing changes and generally simplifying usage. This is for windows only, but can be run on linux/mac using WineHQ.

Windows users

Download the latest release of the CLI or UI marked "windows".

Linux & Mac

For the CLI, download the latest release of the CLI marked "linux" or "mac".

For the UI, you will first need to install WineHQ if you don't have it already.

# For x64 hosts only, adds x86 support.
sudo dpkg --add-architecture i386

# Add WineHQ repository key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

# Ubuntu 20.04 specific! make sure to add the proper repository for your OS
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

sudo apt update
sudo apt install --install-recommends winehq-stable

Docker

Leveraging docker provides the simplest usage when available. It can ensure the latest version is always used, as well as support automated CI/CD workflows. The example below binds the current working directory as /content on the host and performs publishing. The final compressed file is saved to the same working directory as PBR-x128.zip. Please use the Docker-Hub Image as the GitHub Package is no longer updated.

# publish.sh
docker run --name pixelgraph --rm --mount src="$(pwd)",target="/content,type=bind" null511/pixelgraph:latest \
    publish -p "//content/src/default.pack.yml" -z "//content/PBR-x128.zip"