Skip to content

refactor: cross-platform and build improvements#64

Merged
StaticSweep merged 5 commits into
StaticSweep:mainfrom
TechnologicalDifferences:main
Apr 14, 2026
Merged

refactor: cross-platform and build improvements#64
StaticSweep merged 5 commits into
StaticSweep:mainfrom
TechnologicalDifferences:main

Conversation

@TechnologicalDifferences

Copy link
Copy Markdown
Contributor
  • LinuxProcessManager: implement getPid() via /proc/[pid]/cmdline scanning; remove X11/JNA window operations, fields, constructor, close(), and AutoCloseable — class now implements ProcessManager only
  • ProcessManagerFactory: add explicit Linux guard and throw UnsupportedOperationException for unrecognised OSes instead of silently falling through to Linux
  • ProfileManager: replace hard-coded ~/.runelite/profiles2 path with OS-aware resolveProfileDir() that handles Windows AppData, Linux Bolt Flatpak, macOS Library/Application Support, and standard Linux
  • settings.gradle.kts: canonicalise project dir to fix Spotless on systems where /home is a symlink (e.g. Fedora /var/home)
  • ScriptInstance: clear thread interrupted flag before broadcast() so the WebSocket semaphore acquire succeeds after stop() interrupts the script thread
  • CVTemplates.sh: add setup script to fetch SRL fonts, OSBC UI templates, and mouse-click images and generate font index files
  • gradlew: mark as executable

- LinuxProcessManager: implement getPid() via /proc/[pid]/cmdline
  scanning; remove X11/JNA window operations, fields, constructor,
  close(), and AutoCloseable — class now implements ProcessManager only
- ProcessManagerFactory: add explicit Linux guard and throw
  UnsupportedOperationException for unrecognised OSes instead of
  silently falling through to Linux
- ProfileManager: replace hard-coded ~/.runelite/profiles2 path with
  OS-aware resolveProfileDir() that handles Windows AppData, Linux Bolt
  Flatpak, macOS Library/Application Support, and standard Linux
- settings.gradle.kts: canonicalise project dir to fix Spotless on
  systems where /home is a symlink (e.g. Fedora /var/home)
- ScriptInstance: clear thread interrupted flag before broadcast() so
  the WebSocket semaphore acquire succeeds after stop() interrupts the
  script thread
- CVTemplates.sh: add setup script to fetch SRL fonts, OSBC UI
  templates, and mouse-click images and generate font index files
- gradlew: mark as executable
Comment thread third-party/DEV_README.md Outdated
Comment thread third-party/DEV_README.md Outdated
@StaticSweep StaticSweep self-requested a review April 14, 2026 19:38
@StaticSweep StaticSweep merged commit 580a619 into StaticSweep:main Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants