From 1663fefd6a141394a5c60a565d5a9f31d7f6b66b Mon Sep 17 00:00:00 2001 From: thek4n Date: Thu, 23 Apr 2026 14:42:32 +0300 Subject: [PATCH] fix starsector links --- TARGETS.sh | 2 +- home/user/.local/bin/starsector | 0 home/user/.local/share/applications/starsector.desktop | 4 ++++ install-hooks/starsector/post-install | 10 ++++------ 4 files changed, 9 insertions(+), 7 deletions(-) mode change 100644 => 100755 home/user/.local/bin/starsector create mode 100644 home/user/.local/share/applications/starsector.desktop diff --git a/TARGETS.sh b/TARGETS.sh index 9369a50..1a803dd 100644 --- a/TARGETS.sh +++ b/TARGETS.sh @@ -27,5 +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 +starsector:.java/.userPrefs/com/fs/starfarer/prefs.xml .local/share/applications/starsector.desktop .local/bin/starsector all:%less %t %note %tmux %zsh %nvim %git" diff --git a/home/user/.local/bin/starsector b/home/user/.local/bin/starsector old mode 100644 new mode 100755 diff --git a/home/user/.local/share/applications/starsector.desktop b/home/user/.local/share/applications/starsector.desktop new file mode 100644 index 0000000..ee95bf2 --- /dev/null +++ b/home/user/.local/share/applications/starsector.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Exec=starsector +Name=Starsector +Type=Application diff --git a/install-hooks/starsector/post-install b/install-hooks/starsector/post-install index a6a371b..2083f08 100755 --- a/install-hooks/starsector/post-install +++ b/install-hooks/starsector/post-install @@ -9,12 +9,10 @@ wget -c -O "${prefix}/starsector.zip" "https://f005.backblazeb2.com/file/fractal 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 +wget -c -O "${prefix}/starsector-rusificator.zip" "https://paste.thek4n.ru/lvsaHLOAmFfqnv/" +unzip -o "${prefix}/starsector-rusificator.zip" 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 +wget -c -O "${prefix}/starsector/mods/Unthemed Weapons Collection.zip" "https://paste.thek4n.ru/pGbkhFFgGcSysm/" +unzip "${prefix}/starsector/mods/Unthemed Weapons Collection.zip"