Skip to content

Commit

Permalink
Fix connector not being detected on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
null-dev committed Apr 4, 2021
1 parent d8c0e9e commit 0144d08
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .rpm/manifest-linux2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"allowed_extensions": [
"[email protected]"
],
"description": "Profile Switcher for Firefox",
"name": "ax.nd.profile_switcher_ff",
"path": "/usr/bin/ff-pswitch-connector",
"type": "stdio"
}
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ assets = [
# binary
["target/release/firefox_profile_switcher_connector", "/usr/bin/ff-pswitch-connector", "755"],
# manifest
["manifest/manifest-linux.json", "/usr/lib/mozilla/native-messaging-hosts/ax.nd.profile_switcher_ff.json", "644"]
["manifest/manifest-linux.json", "/usr/lib/mozilla/native-messaging-hosts/ax.nd.profile_switcher_ff.json", "644"],
["manifest/manifest-linux.json", "/usr/lib64/mozilla/native-messaging-hosts/ax.nd.profile_switcher_ff.json", "644"]
]

[package.metadata.rpm]
Expand All @@ -54,3 +55,4 @@ firefox_profile_switcher_connector = { path = "/usr/bin/ff-pswitch-connector" }

[package.metadata.rpm.files]
"manifest-linux.json" = { path = "/usr/lib/mozilla/native-messaging-hosts/ax.nd.profile_switcher_ff.json" }
"manifest-linux2.json" = { path = "/usr/lib64/mozilla/native-messaging-hosts/ax.nd.profile_switcher_ff.json" }

0 comments on commit 0144d08

Please sign in to comment.