Skip to content

Commit

Permalink
[FB] Native Messeaging | Fix cannot connect extention on mac & Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
surapunoyousei committed Aug 23, 2024
1 parent 344a8c6 commit c293b52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions toolkit/components/extensions/NativeManifests.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ export var NativeManifests = {

async _tryPaths(type, name, dirs, context) {
for (let dir of dirs) {

// Replace "Floorp" with "Mozilla" in the path.
dir = dir.replace("Floorp", "Mozilla");
dir = dir.replace("floorp", "mozilla");

let path = PathUtils.join(dir, TYPES[type], `${name}.json`);
let manifest = await this._tryPath(type, path, name, context, false);
if (manifest) {
Expand Down

0 comments on commit c293b52

Please sign in to comment.