Commit 4e498a78 authored by teor's avatar teor Committed by Georg Koppen
Browse files

Bug 21724: Make Firefox and Tor Browser distinct macOS apps

When macOS opens a document or selects a default browser, it sometimes
uses the CFBundleSignature. Changing from the Firefox MOZB signature to
a different signature TORB allows macOS to distinguish between Firefox
and Tor Browser.
parent 7513952b
...@@ -103,5 +103,5 @@ ifdef MOZ_UPDATER ...@@ -103,5 +103,5 @@ ifdef MOZ_UPDATER
mv -f '$(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater' '$(dist_dest)/Contents/Library/LaunchServices' mv -f '$(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater' '$(dist_dest)/Contents/Library/LaunchServices'
ln -s ../../../../Library/LaunchServices/org.mozilla.updater '$(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater' ln -s ../../../../Library/LaunchServices/org.mozilla.updater '$(dist_dest)/Contents/MacOS/updater.app/Contents/MacOS/org.mozilla.updater'
endif endif
printf APPLMOZB > '$(dist_dest)/Contents/PkgInfo' printf APPLTORB > '$(dist_dest)/Contents/PkgInfo'
endif endif
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>%APP_VERSION%</string> <string>%APP_VERSION%</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>MOZB</string> <string>TORB</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment