This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
TMPDIR="$(mktemp -d)" | |
wget https://github.com/peterhaneve/ONIMods/releases/download/FastTrackBeta/FastTrack.zip -O "$TMPDIR/FastTrack.zip" || exit 1 | |
unzip "$TMPDIR/FastTrack.zip" -d "$TMPDIR" || exit 1 | |
# For Steam on Linux via package manager | |
GAME_MOD_PATH="$HOME/.config/unity3d/Klei/Oxygen Not Included/mods/Local/FastTrack" | |
# For Steam on Linux via Flatpak | |
# GAME_MOD_PATH="$HOME/.var/app/com.valvesoftware.Steam/config/unity3d/Klei/Oxygen Not Included/mods/Local/FastTrack" | |
mkdir -p "$GAME_MOD_PATH" || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go | |
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go" | |
export GOMODCACHE="${XDG_CACHE_HOME:-$HOME/.cache}/go/mod" | |
# Rust (Cargo) | |
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo" | |
# OCaml (Opam) | |
export OPAMROOT="${XDG_DATA_HOME:-$HOME/.local/share}/opam" |