Improved Firefox profile guide
This commit is contained in:
parent
fab5443f6f
commit
afb755960d
1 changed files with 6 additions and 6 deletions
|
@ -36,20 +36,20 @@ Click “File”, then “Export…”, set “Export As” filename to “Firef
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Step 4: configure app as agent app
|
### Step 4: set Firefox app environment variable
|
||||||
|
|
||||||
> Heads-up: replace `Firefox work` with filename from [step 3](#step-3-export-script-as-application).
|
> Heads-up: replace `Firefox work` with filename from [step 3](#step-3-export-script-as-application).
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
defaults write "/Applications/Firefox work.app/Contents/Info.plist" LSUIElement -bool yes
|
FIREFOX_APP="Firefox work.app"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 5 (optional): replace default icon with Firefox icon
|
### Step 5: configure app as agent and set icon
|
||||||
|
|
||||||
> Heads-up: replace `Firefox work` with filename from [step 3](#step-3-export-script-as-application).
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cp "/Applications/Firefox.app/Contents/Resources/firefox.icns" "/Applications/Firefox work.app/Contents/Resources/applet.icns"
|
defaults write "/Applications/$FIREFOX_APP/Contents/Info.plist" LSUIElement -bool yes
|
||||||
|
cp "/Applications/Firefox.app/Contents/Resources/firefox.icns" "/Applications/$FIREFOX_APP/Contents/Resources/applet.icns"
|
||||||
|
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -f "/Applications/$FIREFOX_APP"
|
||||||
```
|
```
|
||||||
|
|
||||||
👍
|
👍
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue