Add applauncher settings, refactor some pug code #1084

Closed
opened 2026-04-05 16:51:21 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @GroovyTeacup on 5/11/2023

Changes:

  • Added a toggle to enable/disable the app-launcher. I know, super advanced stuff here
  • Added another toggle to set whether the launcher will automatically close the apps it has launched or not. If this is off, VRCX will not re-launch any apps that are still running when VRChat launches again.
  • The app launcher is now disabled by default
  • Refactored index.pug; Every tab container and the login page has been punted out of index.pug and dropped into their own files, included back into index.pug with mixins. There's still a lot more to potentially do here, but it's a start. Dialogs are still in index for now.
  • Refactored the settings file specifically to add comments for navigation, as well as several proof of concept mixin functions, this one first because, uhhh, it's the only file I actually interact with
  • If the screenshot helper db entry isn't found, it'll default to true; This has been tested for a while now and it seems like it won't suddenly create a black hole.
  • Fix a crash caused by process monitor trying to refresh a process that doesn't exist. Dunno how that got there, I swear.

Translation keys added:

  • view.settings.advanced.advanced.app_launcher.header
  • view.settings.advanced.advanced.app_launcher.folder
  • view.settings.advanced.advanced.app_launcher.folder_tooltip
  • view.settings.advanced.advanced.app_launcher.enable
  • view.settings.advanced.advanced.app_launcher.auto_close
  • view.settings.advanced.advanced.cache_debug.udon_exception_logging
  • view.settings.advanced.advanced.cache_debug.gpu_fix

Translation keys removed:

  • view.settings.advanced.advanced.auto_launch
  • view.settings.advanced.advanced.auto_launch_tooltip
*Originally created by @GroovyTeacup on 5/11/2023* Changes: - Added a toggle to enable/disable the app-launcher. I know, super advanced stuff here - Added another toggle to set whether the launcher will automatically close the apps it has launched or not. If this is off, VRCX will not re-launch any apps that are still running when VRChat launches again. - The app launcher is now disabled by default - Refactored index.pug; Every tab container and the login page has been punted out of index.pug and dropped into their own files, included back into index.pug with mixins. There's still a lot more to potentially do here, but it's a start. Dialogs are still in index for now. - Refactored the settings file specifically to add comments for navigation, as well as several proof of concept mixin functions, this one first because, uhhh, it's the only file I actually interact with - If the screenshot helper db entry isn't found, it'll default to true; This has been tested for a while now and it seems like it won't suddenly create a black hole. - Fix a crash caused by process monitor trying to refresh a process that doesn't exist. Dunno how that got there, I swear. Translation keys added: + view.settings.advanced.advanced.app_launcher.header + view.settings.advanced.advanced.app_launcher.folder + view.settings.advanced.advanced.app_launcher.folder_tooltip + view.settings.advanced.advanced.app_launcher.enable + view.settings.advanced.advanced.app_launcher.auto_close + view.settings.advanced.advanced.cache_debug.udon_exception_logging + view.settings.advanced.advanced.cache_debug.gpu_fix Translation keys removed: - view.settings.advanced.advanced.auto_launch - view.settings.advanced.advanced.auto_launch_tooltip
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/VRCX#1084