Kualid / AnBox86

33 stars 13 forks source link

Added winetricks, keep XServer alive longer, more Termux keys, run PRoot as isolated, clean up .bashrc #3

Closed WheezyE closed 3 years ago

WheezyE commented 3 years ago
  1. Adding winetricks also necessitated adding some scripts to help launch wine and wineserver.
  2. If xserver quits after all programs and users exit, then we have to launch Xephyr again, so I added the '-noreset' flag to its launch.
  3. I hated not having back and forward keys in Termux, but I found a way to add those, so I included that here.
  4. Mipster realized that since PRoot wasn't isolated on launch, it was trying to launch 64-bit Termux programs from 32-bit Ubuntu and having some issues. Isolating it fixed those errors.
  5. I think I got carried away with .bashrc environment variables, so I removed some. Also Xephyr only really needs to launch from the user account since wine should only be run from the user account (and adding xephyr to root .bashrc makes it complain that the server is already running if we exit the user account and end up in root).
  6. I added some comments and moved some code around too to help a bit with clarity, but I tend to be kind of wordy.