Skip to content

Commit bd57ff7

Browse files
committed
Remove rest of the origin migrator
1 parent 3328430 commit bd57ff7

File tree

9 files changed

+2
-458
lines changed

9 files changed

+2
-458
lines changed

electron_app/src/electron-main.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ if (argv["help"]) {
6464
app.exit();
6565
}
6666

67-
// boolean flag set whilst we are doing one-time origin migration
68-
// We only serve the origin migration script while we're actually
69-
// migrating to mitigate any risk of it being used maliciously.
70-
let migratingOrigin = false;
71-
7267
if (argv['profile-dir']) {
7368
app.setPath('userData', argv['profile-dir']);
7469
} else if (argv['profile']) {
@@ -231,17 +226,6 @@ ipcMain.on('ipcCall', async function(ev, payload) {
231226
mainWindow.focus();
232227
}
233228
break;
234-
case 'origin_migrate':
235-
// NB. The code to call this has now been removed so this
236-
// should never be called. This code itself has been removed
237-
// with the migration to the riot-desktop repo, with the
238-
// expectation that this version will go away and be superseeded
239-
// by the riot-desktop version, after which this version will
240-
// be removed and all the origin migrationm code will go away.
241-
migratingOrigin = true;
242-
await migrateFromOldOrigin();
243-
migratingOrigin = false;
244-
break;
245229
case 'getConfig':
246230
ret = vectorConfig;
247231
break;

electron_app/src/originMigrator.js

Lines changed: 0 additions & 72 deletions
This file was deleted.

origin_migrator/dest/browser-matrix.min.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

origin_migrator/dest/dest.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

origin_migrator/dest/dest.js

Lines changed: 0 additions & 125 deletions
This file was deleted.

origin_migrator/source.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)