blob: 3274eba9700f5dd21512e9d4c6bf696cec4395d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
post_install() {
post_upgrade
}
post_upgrade() {
inform_patches
setcap cap_sys_nice+ep /opt/wine-osu-spectator-wow64/bin/wineserver
}
inform_patches() {
echo "For optimal performance, please make sure your system has the ntsync module properly set up and loaded."
echo "'wine: using fast synchronization.' will be printed when starting wine if it is working correctly."
echo "You can still use Esync or Fsync instead if you export WINE_DISABLE_FAST_SYNC=1."
echo ""
echo "Please be aware winepulse.drv will negotiate the lowest possible period size with your audio server"
echo "This will result in a 2.7ms period size with pipewire-pulse, as pulse.min.req = 128/48000 by default"
echo "Environment variables 'STAGING_AUDIO_PERIOD', 'STAGING_AUDIO_DURATION' override this (units: 10000=1ms; try DURATION=(1 to 4)*PERIOD)"
echo ""
echo "A minimal wine launcher is now installed to use directly as 'wine-osu-wow64', no need to specify a path"
echo "It will automatically set a realtime priority of 55 for wineserver, set STAGING_RT_PRIORITY_SERVER=# to customize, or 0 to disable"
echo ""
echo "For other interesting environment variables, see https://wiki.winehq.org/Wine-Staging_Environment_Variables"
}
|