mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 09:13:50 +02:00
feat: Add local-favorite-world protocol type, focus window on dialog
This commit is contained in:
@@ -23801,6 +23801,15 @@ speechSynthesis.getVoices();
|
|||||||
case 'group':
|
case 'group':
|
||||||
this.showGroupDialog(commandArg);
|
this.showGroupDialog(commandArg);
|
||||||
break;
|
break;
|
||||||
|
case 'local-favorite-world':
|
||||||
|
console.log('local-favorite-world', commandArg);
|
||||||
|
var [id, group] = commandArg.split(':');
|
||||||
|
API.getCachedWorld({ worldId: id }).then((args1) => {
|
||||||
|
this.directAccessWorld(id);
|
||||||
|
this.addLocalWorldFavorite(id, group);
|
||||||
|
return args1;
|
||||||
|
});
|
||||||
|
break;
|
||||||
case 'addavatardb':
|
case 'addavatardb':
|
||||||
this.addAvatarProvider(input.replace('addavatardb/', ''));
|
this.addAvatarProvider(input.replace('addavatardb/', ''));
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user