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