Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.33 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.33 KB

kOS-Scripts

Scripts for kOS (Kerbal Operating System), which is an autopilot you script yourself for 'Kerbal Space Program'.

See the kOS documentation: https://ksp-kos.github.io/KOS_DOC/

No warranty.

Archive Path: <KSP Root>/Ships/Script/

Setup with GNU Stow

This repository is configured to be deployed via GNU Stow.

Prerequisites:

  • GNU Stow installed
  • Kerbal Space Program installed at ~/.steam/steam/steamapps/common/Kerbal Space Program/

Installation:

# Create target directory if it doesn't exist
mkdir -p "$HOME/.steam/steam/steamapps/common/Kerbal Space Program/Ships/Script"

# Deploy scripts via stow
cd ~/git/kOS-Scripts
stow --target="$HOME/.steam/steam/steamapps/common/Kerbal Space Program/Ships/Script" Script

This creates symlinks from Script/boot/, Script/lib/, and Script/missions/ to:

~/.steam/steam/steamapps/common/Kerbal Space Program/Ships/Script/

Uninstall:

cd ~/git/kOS-Scripts
stow --delete --target="$HOME/.steam/steam/steamapps/common/Kerbal Space Program/Ships/Script" Script

--delete removes the symlinks only; the scripts in this repository stay untouched.


https://xkcd.com/1244/