mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-10 14:54:12 +00:00
Minor code Cleanup
This commit is contained in:
parent
3205020c0d
commit
ad63b4f391
2 changed files with 2 additions and 3 deletions
|
@ -9,11 +9,11 @@
|
|||
* `./src/main.js` using webpack. This gives us some performance wins.
|
||||
*/
|
||||
import path from 'path';
|
||||
import { app, BrowserWindow, shell, ipcMain, screen } from 'electron';
|
||||
import { app, BrowserWindow, shell, screen } from 'electron';
|
||||
import { autoUpdater } from 'electron-updater';
|
||||
import log from 'electron-log';
|
||||
import cli from './cli';
|
||||
import { IPC_MAIN_CHANNELS, PROTOCOL } from '../common/constants';
|
||||
import { PROTOCOL } from '../common/constants';
|
||||
import MenuBuilder from './menu';
|
||||
import { isValidCliArgURL, resolveHtmlPath } from './util';
|
||||
import { BROWSER_SYNC_HOST, initInstance } from './browser-sync';
|
||||
|
|
|
@ -3,7 +3,6 @@ import { IPC_MAIN_CHANNELS } from '../../common/constants';
|
|||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export const openUrl = (url: string, mainWindow: BrowserWindow | null) => {
|
||||
console.log('open-url', url);
|
||||
mainWindow?.webContents.send(IPC_MAIN_CHANNELS.OPEN_URL, {
|
||||
url,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue