mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Import launch parameter
This commit is contained in:
@@ -200,7 +200,8 @@ speechSynthesis.getVoices();
|
||||
observerOptions: {
|
||||
rootMargin: '0px',
|
||||
threshold: 0.1
|
||||
}
|
||||
},
|
||||
attempt: 3
|
||||
});
|
||||
|
||||
Vue.use(DataTables);
|
||||
@@ -19910,6 +19911,21 @@ speechSynthesis.getVoices();
|
||||
case 'addavatardb':
|
||||
this.addAvatarProvider(input.replace('addavatardb/', ''));
|
||||
break;
|
||||
case 'import':
|
||||
var type = args[1];
|
||||
if (!type) break;
|
||||
var data = input.replace(`import/${type}/`, '');
|
||||
if (type === 'avatar') {
|
||||
this.showAvatarImportDialog();
|
||||
this.worldImportDialog.input = data;
|
||||
} else if (type === 'world') {
|
||||
this.showWorldImportDialog();
|
||||
this.worldImportDialog.input = data;
|
||||
} else if (type === 'friend') {
|
||||
this.showFriendImportDialog();
|
||||
this.friendImportDialog.input = data;
|
||||
}
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user