summarylogtreecommitdiffstats
path: root/wine-wow64.install
blob: bd01df829f5f19ec1efdcfb6d5b7d7e39dcd610b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 "For other interesting environment variables, see https://github.com/whrvt/wine-osu-patches"
  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 25 for wineserver, set STAGING_RT_PRIORITY_SERVER=# to customize, or 0 to disable"
}