mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix overlay windows showing up on Linux
This commit is contained in:
@@ -11,7 +11,7 @@ $ZipName = "VRCX_" + $Date + ".zip"
|
|||||||
$SetupName = "VRCX_" + $Date + "_Setup.exe"
|
$SetupName = "VRCX_" + $Date + "_Setup.exe"
|
||||||
|
|
||||||
Write-Host "Building .Net..." -ForegroundColor Green
|
Write-Host "Building .Net..." -ForegroundColor Green
|
||||||
dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
||||||
|
|
||||||
Write-Host "Building Node.js..." -ForegroundColor Green
|
Write-Host "Building Node.js..." -ForegroundColor Green
|
||||||
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@echo off
|
@echo off
|
||||||
cd ../../
|
cd ../../
|
||||||
dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
dotnet build Dotnet\VRCX-Cef.csproj -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
|
||||||
pause
|
pause
|
||||||
|
|||||||
@@ -533,18 +533,14 @@ function createTray() {
|
|||||||
label: 'Open',
|
label: 'Open',
|
||||||
type: 'normal',
|
type: 'normal',
|
||||||
click: function () {
|
click: function () {
|
||||||
BrowserWindow.getAllWindows().forEach(function (win) {
|
mainWindow.show();
|
||||||
win.show();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'DevTools',
|
label: 'DevTools',
|
||||||
type: 'normal',
|
type: 'normal',
|
||||||
click: function () {
|
click: function () {
|
||||||
BrowserWindow.getAllWindows().forEach(function (win) {
|
mainWindow.webContents.openDevTools();
|
||||||
win.webContents.openDevTools();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -560,9 +556,7 @@ function createTray() {
|
|||||||
tray.setContextMenu(contextMenu);
|
tray.setContextMenu(contextMenu);
|
||||||
|
|
||||||
tray.on('click', () => {
|
tray.on('click', () => {
|
||||||
BrowserWindow.getAllWindows().forEach(function (win) {
|
mainWindow.show();
|
||||||
win.show();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user