Fix line-endings; Increase portability; Add speedtyper.py
This commit is contained in:
@@ -1,43 +1,40 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Discard on use
|
||||
rm $0
|
||||
|
||||
# https://blog.thepoon.fr/osuLinuxAudioLatency/
|
||||
sudo pacman-key --keyserver hkps://hkps.pool.sks-keyservers.net -r C0E7D0CDB72FBE95
|
||||
sudo pacman-key --keyserver hkps://hkps.pool.sks-keyservers.net --lsign-key C0E7D0CDB72FBE95
|
||||
|
||||
echo "[thepoon]
|
||||
Server = https://archrepo.thepoon.fr
|
||||
Server = https://mirrors.celianvdb.fr/archlinux/thepoon
|
||||
" | sudo tee --append /etc/pacman.conf
|
||||
|
||||
sudo pacman -S wine-osu winetricks
|
||||
|
||||
mkdir ~/osu!
|
||||
cd ~/osu!
|
||||
wget https://m1.ppy.sh/r/osu\!install.exe
|
||||
|
||||
export WINEPREFIX="$HOME/.wine_osu"
|
||||
export WINEARCH=win32
|
||||
|
||||
winetricks dotnet40 &
|
||||
|
||||
cat <<EOF > ~/osu!/start.sh
|
||||
#!/bin/sh
|
||||
|
||||
export WINEPREFIX="$HOME/.wine_osu"
|
||||
export STAGING_AUDIO_DURATION=8000
|
||||
export PATH=/opt/wine-osu/bin:$PATH
|
||||
|
||||
cd ~/osu!
|
||||
wine osu!.exe "$@"
|
||||
EOF
|
||||
|
||||
cat <<EOF > ~/osu!/kill.sh
|
||||
#!/bin/sh
|
||||
|
||||
export WINEPREFIX="$HOME/.wine_osu"
|
||||
|
||||
wineserver -k
|
||||
EOF
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# https://blog.thepoon.fr/osuLinuxAudioLatency/
|
||||
sudo pacman-key --keyserver hkps://hkps.pool.sks-keyservers.net -r C0E7D0CDB72FBE95
|
||||
sudo pacman-key --keyserver hkps://hkps.pool.sks-keyservers.net --lsign-key C0E7D0CDB72FBE95
|
||||
|
||||
echo "[thepoon]
|
||||
Server = https://archrepo.thepoon.fr
|
||||
Server = https://mirrors.celianvdb.fr/archlinux/thepoon
|
||||
" | sudo tee --append /etc/pacman.conf
|
||||
|
||||
sudo pacman -S wine-osu winetricks
|
||||
|
||||
mkdir ~/osu!
|
||||
cd ~/osu!
|
||||
wget https://m1.ppy.sh/r/osu\!install.exe
|
||||
|
||||
export WINEPREFIX="$HOME/.wine_osu"
|
||||
export WINEARCH=win32
|
||||
|
||||
winetricks dotnet40 &
|
||||
|
||||
cat <<EOF > ~/osu!/start.sh
|
||||
#!/bin/sh
|
||||
|
||||
export WINEPREFIX="$HOME/.wine_osu"
|
||||
export STAGING_AUDIO_DURATION=8000
|
||||
export PATH=/opt/wine-osu/bin:$PATH
|
||||
|
||||
cd ~/osu!
|
||||
wine osu!.exe "$@"
|
||||
EOF
|
||||
|
||||
cat <<EOF > ~/osu!/kill.sh
|
||||
#!/bin/sh
|
||||
|
||||
export WINEPREFIX="$HOME/.wine_osu"
|
||||
|
||||
wineserver -k
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user