Skip to content

Commit

Permalink
Revert update Electron imports
Browse files Browse the repository at this point in the history
  • Loading branch information
electronfriends committed Jul 28, 2024
1 parent c577e0e commit 2a9d040
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { app } from 'electron/main';
import { app } from 'electron';
import settings from 'electron-settings';

const appPath = app.isPackaged ? process.resourcesPath : app.getAppPath();
Expand Down
2 changes: 1 addition & 1 deletion src/main-process/manager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'node:fs';

import { dialog } from 'electron/main';
import { dialog } from 'electron';
import settings from 'electron-settings';
import semverGt from 'semver/functions/gt';

Expand Down
2 changes: 1 addition & 1 deletion src/main-process/menu.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'node:path';

import { app, Menu, MenuItem, shell, Tray } from 'electron/main';
import { app, Menu, MenuItem, shell, Tray } from 'electron';
import settings from 'electron-settings';

import config from '../config';
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { app, Menu } from 'electron/main';
import { app, Menu } from 'electron';
import settings from 'electron-settings';
import squirrelStartup from 'electron-squirrel-startup';
import { updateElectronApp } from 'update-electron-app';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/notification.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Notification } from 'electron/main';
import { Notification } from 'electron';

/**
* Show a notification when a service download or update begins.
Expand Down

0 comments on commit 2a9d040

Please sign in to comment.