mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-07-19 14:37:00 +00:00
Electron: Explictly mention FCast sender app required for QR code scan
This commit is contained in:
parent
5094968a17
commit
668b56d9a2
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { BrowserWindow, ipcMain, IpcMainEvent, nativeImage, Tray, Menu, dialog } from 'electron';
|
||||
import { BrowserWindow, ipcMain, IpcMainEvent, nativeImage, Tray, Menu, dialog, shell } from 'electron';
|
||||
import { Opcode, PlaybackErrorMessage, PlaybackUpdateMessage, VolumeUpdateMessage } from 'common/Packets';
|
||||
import { DiscoveryService } from 'common/DiscoveryService';
|
||||
import { TcpListenerService } from 'common/TcpListenerService';
|
||||
|
@ -278,6 +278,11 @@ export class Main {
|
|||
if (Updater.checkForUpdatesOnStart) {
|
||||
Main.checkForUpdates(true);
|
||||
}
|
||||
|
||||
Main.mainWindow.webContents.setWindowOpenHandler((details) => {
|
||||
shell.openExternal(details.url);
|
||||
return { action: "deny" };
|
||||
});
|
||||
}
|
||||
|
||||
static openMainWindow() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue