mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-26 19:47:42 +00:00
Remove library injection from Riot Client launches
This commit is contained in:
1 parent
e554644d0d
commit
6085f98f64
10 files changed
+46
-93
No files matched your search
@@ -15,4 +15,3 @@ python3 build/runtime/tools/stop-darling-runtime.py
|
||||
sh build/runtime/tools/install-riot-presentation-runtime.sh
|
||||
sh build/runtime/tools/install-riot-gpu-runtime.sh
|
||||
python3 build/runtime/tools/install-darling-system-profiler.py
|
||||
python3 scripts/install-shim.py
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
import os,subprocess
|
||||
from pathlib import Path
|
||||
from common import ROOT,configuration
|
||||
c=configuration();guest=Path(c['prefix'])/c['guest_home'].lstrip('/')
|
||||
guest.mkdir(parents=True,exist_ok=True)
|
||||
source=ROOT/'build/runtime/tools/m58f101-logdir-shim.c';out=guest/'zzlogdir.dylib'
|
||||
subprocess.run(['clang','-target','x86_64-apple-macosx11.0','-fuse-ld=lld','-dynamiclib','-nostdlib','-nodefaultlibs','-undefined','dynamic_lookup','-O2',str(source),'-Wl,-install_name,'+c['guest_home']+'/zzlogdir.dylib','-o',str(out)],check=True)
|
||||
print('Installed launch argument shim')
|
||||
+1
-1
@@ -4,4 +4,4 @@ repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
cd "$repo"
|
||||
python3 scripts/configure.py >/dev/null
|
||||
if [ -d build/venv/bin ]; then PATH="$repo/build/venv/bin:$PATH"; export PATH; fi
|
||||
exec sh build/runtime/tools/run-riot-ux-with-logdir-shim.sh
|
||||
exec sh build/runtime/tools/run-riot-client.sh
|
||||
Reference in new issue
Block a user