summarylogtreecommitdiffstats
path: root/osu.install
blob: 7aebf81da68968c4e658d1f912a8310c4fe38ce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
post_install() {
    #chmod g+s "/opt/osu/game/"
    #chmod g+w "/opt/osu/game/"
    update-desktop-database -q
    #echo "To run this game, you have to be in 'games' group"
    #echo "Use 'sudo gpasswd -a YOUR_USERNAME games'"
    #echo
    echo "If you want to install optional dependencies, run:"
    echo "/opt/osu/osulauncher install-optional"
    echo
    echo "If you experience sound lag with alsa, you might try to add something like"
    echo "http://pastebin.com/djQGVmHf in your $HOME/.asoundrc (or /etc/asound.conf)"
    echo
    echo "If you use pulseaudio, try your luck tuning"
    echo "default-fragments and default-fragment-size-msec in /etc/pulse/daemon.conf"
    echo
    echo "If you experience sound crackling, play with"
    echo "HKEY_CURRENT_USER\Software\Wine\DirectSound\SndQueueMax in regedit"
    echo "(set it to 3 or more)"
    
}

post_remove() {
    update-desktop-database -q
}