feat: add launch command for switching avatars (#1145)

* feat: add launch command for switching avatars

* fix: reuse selectAvatarWithoutConfirmation

* chore: remove FIXME comments

* fix: address comments

- ipcEvent does not need to be async
- use $app instead of $app.methods

* fix: consolidate settings option

Instead of having two settings to control focus and confirmation
seperately, just use one and grab focus when its enabled.
This commit is contained in:
avtrDB
2025-02-23 08:04:59 +01:00
committed by GitHub
parent 7157509002
commit 96c3470f6f
4 changed files with 71 additions and 25 deletions

View File

@@ -350,6 +350,7 @@
"auto_invite_request_accept_favs": "All Favorites",
"auto_invite_request_accept_selected_favs": "VRCX Favorites"
},
"legal_notice": {
"header": "Legal Notice",
"info": "VRCX is an assistant application for VRChat that provides information about and managing friendship. This application makes use of the unofficial VRChat API SDK.",
@@ -567,6 +568,11 @@
"enable_tooltip": "Requires SteamVR overlay to be enabled",
"dance_world_only": "Supported world only"
},
"launch_commands": {
"header": "Launch Commands / Deeplinks",
"show_confirmation_on_switch_avatar_enable": "Show confirmation diaglog before switching avatars",
"show_confirmation_on_switch_avatar_tooltip": "When disabled VRCX will not come to the front when switching avatars and ask for confirmation"
},
"screenshot_helper": {
"header": "Screenshot Helper",
"description": "Store world ID, world name and players inside the instance inside the file metadata of any pictures you take in-game.",