misc: uh what happened here
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
## `preloader.sh`
|
||||
Execute multiple scripts in a folder (default is `./preloader`), usually useful for Lutris Pre-launch/Post-exit script
|
||||
+ Logging is enabled by default, but can be disabled by changing DEBUG to 0 in script source (`DEBUG=0`)
|
||||
> This script will execute scripts in **current directory** *(where `preloader.sh` is executed)*, so for example if a script need a file called `nightmare`, and preloader.sh is in `~`, **put it in `~`** *instead of `~/preloader/nightmare`*
|
||||
> This script will execute scripts in **current working directory** *(where `preloader.sh` is executed)*, so for example if a script need a file called `nightmare`, and preloader.sh is in `~`, **put the file in `~`** *instead of `~/preloader/`*
|
||||
### Installation
|
||||
+ To download `preloader.sh` itself:
|
||||
```sh
|
||||
@ -11,16 +11,21 @@ chmod +x preloader.sh
|
||||
```
|
||||
+ After that, copy/move this script to the game prefix you want to use, then in Lutris:
|
||||
- Set pre-launch script in Lutris to where `preloader.sh` is located.
|
||||
- Disable **Wait for pre-launch script completion**
|
||||
- Disable **Wait for pre-launch script completion** (optional)
|
||||
|
||||
+ **IMPORTANT**: Now, to add pre-launch script, instead of setting them in Lutris, add them to `./preloader` (or the folder you specified).
|
||||
+ Enjoy :L
|
||||
|
||||
### Documentation
|
||||
There are environment variables to control how preloader.sh work:
|
||||
+ `PRELOADER_PATH=./preloader`: Path to preload scripts.
|
||||
+ `PRELOADER_DEBUG=0`: Enable debug (1) or disable it (0)
|
||||
|
||||
## `discord_rpc.sh`
|
||||
Launch `winediscordrpcbridge.exe`, to be able to get Discord Rich Presence on Wine applications on the specified prefix.
|
||||
|
||||
### Installation
|
||||
+ To install you must have `winediscordrpcbridge.exe` present, if not you can download latest version by executing
|
||||
+ To install you must have [`winediscordrpcbridge.exe`](https://github.com/0e4ef622/wine-discord-ipc-bridge/) present, if not you can download latest version by executing
|
||||
```sh
|
||||
curl -OL https://github.com/0e4ef622/wine-discord-ipc-bridge/releases/latest/download/winediscordipcbridge.exe
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user