Skip to content

Commit

Permalink
feat: slim down bootstrap.json
Browse files Browse the repository at this point in the history
  • Loading branch information
notmeta committed Oct 5, 2024
1 parent 5729c5a commit a398e09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 96 deletions.
90 changes: 1 addition & 89 deletions bootstrap-base.json
Original file line number Diff line number Diff line change
@@ -1,89 +1 @@
{
"clientJvm17Arguments": [
"-XX:+DisableAttachMechanism",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"clientJvm17MacArguments": [
"-XX:+DisableAttachMechanism",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"clientJvm9Arguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.blacklistedDlls=RTSSHooks.dll,RTSSHooks64.dll,NahimicOSD.dll,NahimicMSIOSD.dll,Nahimic2OSD.dll,Nahimic2DevProps.dll,k_fps32.dll,k_fps64.dll,SS2DevProps.dll,SS2OSD.dll,GTIII-OSD64-GL.dll,GTIII-OSD64-VK.dll,GTIII-OSD64.dll",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"clientJvmArguments": [
"-XX:+DisableAttachMechanism",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"-Xincgc",
"-XX:+UseConcMarkSweepGC",
"-XX:+UseParNewGC",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"launcherArguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.nojvm=true",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"-Xincgc",
"-XX:+UseConcMarkSweepGC",
"-XX:+UseParNewGC",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"launcherJvm11Arguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.nojvm=true",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"launcherJvm11WindowsArguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.nojvm=true",
"-Drunelite.launcher.blacklistedDlls=RTSSHooks.dll,RTSSHooks64.dll,NahimicOSD.dll,NahimicMSIOSD.dll,Nahimic2OSD.dll,Nahimic2DevProps.dll,k_fps32.dll,k_fps64.dll,SS2DevProps.dll,SS2OSD.dll,GTIII-OSD64-GL.dll,GTIII-OSD64-VK.dll,GTIII-OSD64.dll",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"launcherJvm17Arguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.nojvm=true",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"launcherJvm17MacArguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.nojvm=true",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
],
"launcherJvm17WindowsArguments": [
"-XX:+DisableAttachMechanism",
"-Drunelite.launcher.nojvm=true",
"-Drunelite.launcher.blacklistedDlls=RTSSHooks.dll,RTSSHooks64.dll,NahimicOSD.dll,NahimicMSIOSD.dll,Nahimic2OSD.dll,Nahimic2DevProps.dll,k_fps32.dll,k_fps64.dll,SS2DevProps.dll,SS2OSD.dll,GTIII-OSD64-GL.dll,GTIII-OSD64-VK.dll,GTIII-OSD64.dll",
"-Xmx768m",
"-Xss2m",
"-XX:CompileThreshold=1500",
"--add-opens=java.base/java.lang=ALL-UNNAMED"
]
}
{}
10 changes: 3 additions & 7 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,10 @@ def main():
**bootstrap_base,
"artifacts": artifacts,
"launcher": {
"artifactId": "launcher",
"classifier": "",
"extension": "jar",
"groupId": "net.runelite",
"properties": {},
"mainClass": "net.runelite.launcher.Launcher",
"version": launcher_version
},
"dependencyHashes": dict(sorted(dependency_hashes.items()))}
}
}
print(json.dumps(dict(sorted(document.items())), indent=4))


Expand Down

0 comments on commit a398e09

Please sign in to comment.