Skip to content

Commit

Permalink
fix import order by eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Sep 11, 2023
1 parent fcb72ff commit 15ce2aa
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/main/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { app, BrowserWindow, systemPreferences } from 'electron';

import { join } from 'path';
import IPCs from './IPCs';
import installExtension, {
REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS
} from "electron-extension-installer";
REACT_DEVELOPER_TOOLS,
REDUX_DEVTOOLS,
} from 'electron-extension-installer';
import IPCs from './IPCs';

global.IS_DEV = process.env.NODE_ENV === 'development';

Expand Down Expand Up @@ -69,14 +70,14 @@ app.whenReady().then(async () => {
if (global.IS_DEV) {
await installExtension(REACT_DEVELOPER_TOOLS, {
loadExtensionOptions: {
allowFileAccess: true
}
})
allowFileAccess: true,
},
});
await installExtension(REDUX_DEVTOOLS, {
loadExtensionOptions: {
allowFileAccess: true
}
})
allowFileAccess: true,
},
});
}

await createWindow();
Expand Down

0 comments on commit 15ce2aa

Please sign in to comment.