Skip to content

Instantly share code, notes, and snippets.

View KockaAdmiralac's full-sized avatar

Luka Simić KockaAdmiralac

View GitHub Profile
@KockaAdmiralac
KockaAdmiralac / 0. OneShot build instructions.md
Last active January 21, 2021 18:20
OneShot build instructions for Linux distributions

OneShot build instructions (Linux)

Build scripts

  • If you're on a Debian-based distribution such as Ubuntu or Linux Mint, download and run debian.sh from below
  • If you're on an Arch-based distribution, download and run arch.sh from below
  • If you aren't on either of those, contact me to provide proper installation instructions If a build script in any time stops in an error, contact me to resolve the issue. Afterwards, you can continue running the script from the line where it stopped.

After building

set -e
cd ~/.local/share/Steam/steamapps/common/OneShot
mkdir old
find . -mindepth 1 -maxdepth 1 -name "*.so*" -exec mv {} old \;
# Journal is not going to list libraries through ldd
mv old/*.cpython-37m-x86_64-linux-gnu.so .
mv old/libpython3.7m.so.1.0 .
fix_libraries() {
MTA5MzIzMzUxMTY4ODg0MzQ5NA.Gla0n1.IyFj3DNbs1aRgzm22MSMb68Z4j7we32I3iIkJQ