Skip to content

Commit 04402b3

Browse files
committed
Remove more origin migrator bits
1 parent bd57ff7 commit 04402b3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

electron_app/src/electron-main.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const tray = require('./tray');
3535
const vectorMenu = require('./vectormenu');
3636
const webContentsHandler = require('./webcontents-handler');
3737
const updater = require('./updater');
38-
const { migrateFromOldOrigin } = require('./originMigrator');
3938

4039
const windowStateKeeper = require('electron-window-state');
4140
const Store = require('electron-store');
@@ -467,13 +466,7 @@ app.on('ready', () => {
467466

468467
let baseDir;
469468
// first part of the path determines where we serve from
470-
if (migratingOrigin && target[1] === 'origin_migrator_dest') {
471-
// the origin migrator destination page
472-
// (only the destination script needs to come from the
473-
// custom protocol: the source part is loaded from a
474-
// file:// as that's the origin we're migrating from).
475-
baseDir = __dirname + "/../../origin_migrator/dest";
476-
} else if (target[1] === 'webapp') {
469+
if (target[1] === 'webapp') {
477470
baseDir = __dirname + "/../../webapp";
478471
} else {
479472
callback({error: -6}); // FILE_NOT_FOUND

0 commit comments

Comments
 (0)