mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 17:49:58 +00:00
macOS installer postinstall fix manifest path
This commit is contained in:
10
app/packaging/macos/scripts/postinstall
Executable file
10
app/packaging/macos/scripts/postinstall
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$2" != "/" ]
|
||||
then
|
||||
manifestPath=$2"/Library/Application Support/Mozilla/NativeMessagingHosts/fx_cast_bridge.json"
|
||||
sed -i.bak 's,"path": "/Library,"path": "'$2'/Library,g' "$manifestPath"
|
||||
rm "$manifestPath.bak"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user