diff --git a/TARGETS.sh b/TARGETS.sh index 04725da..9369a50 100644 --- a/TARGETS.sh +++ b/TARGETS.sh @@ -27,4 +27,5 @@ chromium:.local/bin/pchromium .local/share/applications/pchromium.desktop scripts:.local/bin/httpstatus .local/bin/apco .local/bin/bb .local/bin/emoji .local/bin/mksh .local/bin/nato .local/bin/pastas .local/bin/timer .local/bin/tryna .local/bin/trynafail .local/bin/bak .local/bin/cleanup-directory .local/bin/cleanup-directory-log .local/bin/cleanup-downloads .local/bin/gobuild .local/bin/json .local/bin/open .local/bin/py .local/bin/sha .local/bin/showtips .local/bin/weather .local/bin/radio .local/bin/rmt .local/bin/scratch .local/bin/wake .local/bin/myip .local/bin/genpass .local/bin/gensalt .local/bin/django-create-project .local/bin/mirror-site .local/bin/split-file .local/bin/extract .local/bin/destroy .local/bin/serveit .local/bin/highlight-logs %copypasta music:.local/bin/mpv-service.sh .config/systemd/user/mpv.service .local/bin/player copypasta:.local/bin/copy .local/bin/pasta +starsector:.java/.userPrefs/com/fs/starfarer/prefs.xml all:%less %t %note %tmux %zsh %nvim %git" diff --git a/home/user/.java/.userPrefs/com/fs/starfarer/prefs.xml b/home/user/.java/.userPrefs/com/fs/starfarer/prefs.xml new file mode 100644 index 0000000..acc3beb --- /dev/null +++ b/home/user/.java/.userPrefs/com/fs/starfarer/prefs.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/home/user/.local/bin/starsector b/home/user/.local/bin/starsector new file mode 100644 index 0000000..3f6e402 --- /dev/null +++ b/home/user/.local/bin/starsector @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu + +cd "${HOME}/Games/starsector" +./starsector.sh diff --git a/install-hooks/starsector/post-install b/install-hooks/starsector/post-install new file mode 100755 index 0000000..a6a371b --- /dev/null +++ b/install-hooks/starsector/post-install @@ -0,0 +1,20 @@ +#!/bin/sh +set -eu + +prefix="${HOME}/Games" +mkdir "${prefix}" || true + +cd "${prefix}" +wget -c -O "${prefix}/starsector.zip" "https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-0.98a-RC8.zip" +unzip "${prefix}/starsector.zip" + + +wget -c -O "${prefix}/starsector-rusificator.zip.gz" "https://paste.thek4n.ru/c7aLRZlxGak6LB/" +gzip -f -d "${prefix}/starsector-rusificator.zip.gz" > "${prefix}/starsector-rusificator.zip" || true +unzip -o "${prefix}/starsector-rusificator.zip" || true + + +cd "${prefix}/starsector/mods/" +wget -c -O "${prefix}/starsector/mods/Unthemed Weapons Collection.zip.gz" "https://paste.thek4n.ru/hczMvglofkfW7d/" +gzip -f -d "${prefix}/starsector/mods/Unthemed Weapons Collection.zip.gz" > "${prefix}/starsector/mods/Unthemed Weapons Collection.zip" || true +unzip "${prefix}/starsector/mods/Unthemed Weapons Collection.zip" || true