Repository navigation
Commit 7fcce68
authored
run.sh: keep the Steam overlay on macOS via STEAM_DYLD_INSERT_LIBRARIES (#121)
/bin/sh is a platform binary, so the DYLD_INSERT_LIBRARIES that Steam
sets (its loader and overlay) is stripped before run.sh sees it, and the
game was started with only libdoorstop.dylib inserted. Steam passes the
same list as STEAM_DYLD_INSERT_LIBRARIES; use it when
DYLD_INSERT_LIBRARIES is empty and keep it after Doorstop, as Valve's
own launch scripts and MelonLoader do.1 parent d8973b2 commit 7fcce68
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
323 | 330 | | |
324 | 331 | | |
325 | | - | |
| 332 | + | |
326 | 333 | | |
327 | 334 | | |
328 | 335 | | |
| |||
0 commit comments