mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
Fix
This commit is contained in:
@@ -130,10 +130,17 @@ if (!gotTheLock) {
|
||||
} else {
|
||||
app.on('second-instance', (event, commandLine, workingDirectory) => {
|
||||
if (mainWindow && commandLine.length >= 2) {
|
||||
mainWindow.webContents.send(
|
||||
'launch-command',
|
||||
commandLine.pop().trim().replace(strip_vrcx_prefix_regex, '')
|
||||
);
|
||||
try {
|
||||
mainWindow.webContents.send(
|
||||
'launch-command',
|
||||
commandLine
|
||||
.pop()
|
||||
.trim()
|
||||
.replace(strip_vrcx_prefix_regex, '')
|
||||
);
|
||||
} catch (err) {
|
||||
console.error('Error processing second-instance command:', err);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -2048,7 +2048,7 @@
|
||||
return;
|
||||
}
|
||||
handleUserDialogTab(obj.name, userId);
|
||||
userDialogLastActiveTab.value = obj.label;
|
||||
userDialogLastActiveTab.value = obj.name;
|
||||
}
|
||||
|
||||
function showPronounsDialog() {
|
||||
|
||||
Reference in New Issue
Block a user