This file contains hidden or 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/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 |
This file contains hidden or 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
#!/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 |