From 4bc56d609d8cd8c39e5b6be519c8cc5c2b17b8dc Mon Sep 17 00:00:00 2001 From: topterrorist Date: Sun, 5 Oct 2025 22:59:18 +0200 Subject: [PATCH] Upload bestanden naar "/" 64bit ver --- install64b.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 install64b.sh diff --git a/install64b.sh b/install64b.sh new file mode 100644 index 0000000..86c4093 --- /dev/null +++ b/install64b.sh @@ -0,0 +1,36 @@ +#!/bin/bash +currentlink="https://www.foobar2000.org/downloads/foobar2000-x64_v2.25.2.exe" +currentfoobar=$(basename "$currentlink") +echo "current foobar version is $currentfoobar" +echo "installing in $HOME/foobar on linux/" + +sleep 2 + +echo "installing foobar" +mkdir -p "$HOME/foobar on linux/foobar2000" +mkdir -p "$HOME/.local/share/kio/servicemenus" +mkdir -p "$HOME/.local/share/applications" +mkdir -p "$HOME/.local/share/icons" + +echo "downloading assets" +wget -O "$HOME/.local/share/kio/servicemenus/enqueue.desktop" https://forge.terrorist.academy/topterrorist/foobar2000_linux_install/raw/commit/2f77fe4efa4922347cf315e69fac76c9bf5e93d5/enqueue.desktop +wget -O "$HOME/.local/share/applications/foobar2000.desktop" https://forge.terrorist.academy/topterrorist/foobar2000_linux_install/raw/commit/2f77fe4efa4922347cf315e69fac76c9bf5e93d5/foobar2000.desktop +wget -O "$HOME/.local/share/icons/foobar2000.png" https://forge.terrorist.academy/topterrorist/foobar2000_linux_install/raw/commit/2f77fe4efa4922347cf315e69fac76c9bf5e93d5/foobar2000.png +wget -O "$HOME/foobar on linux/foo_play.sh" https://forge.terrorist.academy/topterrorist/foobar2000_linux_install/raw/commit/2f77fe4efa4922347cf315e69fac76c9bf5e93d5/foo_play.sh + +echo "retrieving IPC bridge and upload executable" +wget -O "$HOME/foobar on linux/foobar2000/upload.exe" https://github.com/s0hv/rust-imgur-upload/releases/download/0.3.0/imgur-uploader.exe +wget -O "$HOME/foobar on linux/bridge.exe" https://github.com/0e4ef622/wine-discord-ipc-bridge/releases/download/v0.0.3/winediscordipcbridge.exe +echo "installing foobar2000" +wget -O "$HOME/foobar on linux/$currentfoobar" "$currentlink" +installpath_wine=$(winepath -w "$HOME/foobar on linux/foobar2000") +echo "installing foobar to $installpath_wine and wineinstallerpath is $HOME/foobar on linux/$currentfoobar" +wine "$HOME/foobar on linux/$currentfoobar" /S /PORTABLE /D=$installpath_wine +sleep 2 +rm "$HOME/foobar on linux/$currentfoobar" + +chmod +x "$HOME/foobar on linux/foo_play.sh" +chmod +x "$HOME/.local/share/kio/servicemenus/enqueue.desktop" +chmod +x "$HOME/.local/share/applications/foobar2000.desktop" + +echo "done"