Skip to content

Commit

Permalink
Remove beta and Flask from edge-chromium IDs (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz authored Oct 3, 2024
1 parent 8ccf228 commit 923cb57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/extension-provider/createExternalExtensionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ export function createExternalExtensionProvider(
function getExtensionId(typeOrId: ExtensionType) {
let ids: {
stable: string;
beta: string;
flask: string;
beta?: string;
flask?: string;
};

switch (browser?.name) {
case 'edge-chromium':
ids = config.edgeChromiumIds;
Expand All @@ -68,5 +69,6 @@ function getExtensionId(typeOrId: ExtensionType) {
default:
ids = config.chromeIds;
}

return ids[typeOrId as keyof typeof ids] ?? typeOrId;
}
4 changes: 1 addition & 3 deletions src/extension-provider/external-extension-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"flask": "ljfoeinjpaedjfecbmggjgodbgkmjkjk"
},
"edgeChromiumIds": {
"stable": "ejbalbakoplchlghecdalmeeeajnimhm",
"beta": "pbbkamfgmaedccnfkmjcofcecjhfgldn",
"flask": "ljfoeinjpaedjfecbmggjgodbgkmjkjk"
"stable": "ejbalbakoplchlghecdalmeeeajnimhm"
},
"firefoxIds": {
"stable": "[email protected]",
Expand Down

0 comments on commit 923cb57

Please sign in to comment.