mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 15:23:50 +02:00
Support launch URLs, Fixes
This commit is contained in:
@@ -19365,16 +19365,16 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
});
|
||||
|
||||
$app.methods.eventLaunchCommand = function (command) {
|
||||
$app.methods.eventLaunchCommand = function (input) {
|
||||
if (!API.isLoggedIn) {
|
||||
return;
|
||||
}
|
||||
var args = command.split('/');
|
||||
var args = input.split('/');
|
||||
var command = args[0];
|
||||
var commandArg = args[1];
|
||||
switch (command) {
|
||||
case 'world':
|
||||
this.showWorldDialog(commandArg);
|
||||
this.directAccessWorld(input.replace('world/', ''));
|
||||
break;
|
||||
case 'avatar':
|
||||
this.showAvatarDialog(commandArg);
|
||||
|
||||
Reference in New Issue
Block a user