Skip to content

Commit e5267d8

Browse files
committed
Remove unnecessary extensions redirect in packager
Already done by project-running-window
1 parent f26bf85 commit e5267d8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src-main/windows/packager.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,6 @@ class PackagerWindow extends AbstractWindow {
8989
return super.handleWindowOpen(details);
9090
}
9191

92-
onBeforeRequest (details, callback) {
93-
const parsed = new URL(details.url);
94-
if (parsed.origin === 'https://extensions.turbowarp.org') {
95-
return callback({
96-
redirectURL: `tw-extensions://./${parsed.pathname}`
97-
});
98-
}
99-
100-
return super.onBeforeRequest(details, callback);
101-
}
102-
10392
static forEditor (editorWindow) {
10493
new PackagerWindow(editorWindow);
10594
}

0 commit comments

Comments
 (0)