Skip to content

Instantly share code, notes, and snippets.

@daniele-bondi
daniele-bondi / lwr-install
Created March 23, 2020 20:57
Installation script for XCOM Long War Rebalance 1.23.20
#!/bin/bash
if [[ "${1}" == "-h" ]] || [[ "${1}" == "--help" ]]; then
echo "Usage: ${0} /path/to/XCom-Enemy-Unknown"
echo "Omitting installation path results in using the first existing directory among:"
echo "~/.local/share/Steam/SteamApps/common/XCom-Enemy-Unknown"
echo "~/.steam/steamapps/common/XCom-Enemy-Unknown"
echo "If neither exist, the installation stops and you must specify the path manually"
echo "Note: This script must be placed in the LWR directory (the one with Config, Localization, etc)"
exit 0
@daniele-bondi
daniele-bondi / install_linux.bash
Last active March 22, 2020 01:56 — forked from leycec/install_linux.bash
Linux-based installer for the "Long War Rebalance" XCOM mod.
#!/usr/bin/env bash
#
# ====================[ install_linux.sh ]====================
#
# --------------------( SYNOPSIS )--------------------
# Linux-based installer for the "Long War Rebalance" XCOM mod.
#
# --------------------( INSTALLATION )--------------------
# Copy this script into the top-level directory to which you unzipped the
# contents of the "Long War Rebalance" zip archive and run that script to