Once you've launched the app, you can set the icon to stay in the dock even after closing the app. Run the app Once you've created your application shortcut, you can launch it through Spotlight, or in the Applications folder of your home directory. I should also point out that the script assumes that Chrome is installed in '/Applications/Google Chrome.app' if you have Chrome installed elsewhere, it should be pretty obvious how to change the script if you open it up with a text editor. After answering those three questions, your web app will be created and ready to run. For the icon, you can do the same thing by dragging the image file into the terminal. For the url, you can drag from the address bar in your web browser and drop in the terminal to transfer the url. The script will prompt you to enter the three pieces of information from above. Run the script by typing './makeApp.sh' into the Terminal window. With these three things in hand, you're ready to create the application shortcut. I saved the png to my Desktop with the name 'analyticsIcon.png' I found this analytics icon in the Fluid Icons Flickr group. icns Mac icon, just add it to the application after creating it. If you don't include an icon, you'll just get a default icon.
0 Comments
Leave a Reply. |