Skip to content

Simple script for making Chrome-based SSBs (single site browsers)

Notifications You must be signed in to change notification settings

drreen/chrome-ssb-osx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

chrome-ssb

2014-07-26 UPDATE: There are currently some outstanding potential issues between OS X and Chrome updates that I really don't have time to look at (see the open issues). If you need a rock solid modern SSB, I suggest perhaps looking at node-webkit for building SSBs.

You'll need modern node/npm but other than that it's actually pretty straightforward to setup SSBs...


Simple script for making Chrome SSBs on OS X

This is an update of Bracken King's original script published in this 2010 article.

I've updated it a bit to work better:

  • Allow spaces in all variables
  • Properly Trim spaces for easy drag and dropping of icon paths
  • Properly look for Chrome location in /Applications (it uses the first one it finds)
  • Make the new App wherever it's called from
  • Your Profile is placed in the correct location (in the Bundle) no matter where you move the app

Usage

  • Place chrome-ssb.sh in your path or somewhere convenient to call from
  • Run chrome-ssb.sh wherever you want
  • You can also move the created app anywhere you want without issues

Note: Finder may not pick up the icon (shows up as invisible) if you have the creation target folder active/open. You can make it show up by moving the App to a different folder. If you know a workaround, please send a pull request...

Notes

  • This script now makes a copy of the 'Google Chrome' launcher executable stub at application start (it is pretty small, about 13KB) instead of symlinking to solve 10.9 compatibility issues (see #22). The executable points to a specific version of the Google Chrome Framework (../Versions/[VERSION]/Google Chrome Framework.framework/Google Chrome Framework).
  • Copying the launcher executable instead of symlinking will break OS X Gatekeeper's code signing. This shouldn't normally be a problem, but is discussed in depth in Issue #23

TODO

License

Do as you will

About

Simple script for making Chrome-based SSBs (single site browsers)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published