File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ const tray = require('./tray');
3535const vectorMenu = require ( './vectormenu' ) ;
3636const webContentsHandler = require ( './webcontents-handler' ) ;
3737const updater = require ( './updater' ) ;
38- const { migrateFromOldOrigin } = require ( './originMigrator' ) ;
3938
4039const windowStateKeeper = require ( 'electron-window-state' ) ;
4140const 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
You can’t perform that action at this time.
0 commit comments