dogi / ole--vagrant-community

0 stars 19 forks source link

shortcut icon on desktop #8

Open dogi opened 8 years ago

dogi commented 8 years ago

scripts which create a shortcut with belllogo and open firefox with the url http://127.0.0.1:5984/apps/_design/bell/MyApp/index.html for:

dogi commented 8 years ago

windows done - https://github.com/dogi/ole--vagrant-community/blob/master/windows/create_desktop_icon.bat

Hulmani commented 8 years ago

@dogi I was working on how to create an icon on macosx.

I read about article1 and article 2 and wrote this code which tries to open Firefox first, and then tries to lauch Safari and open BeLL homepage which should be installed on macosx by default. I have considered that apps reside in _/Applications_ folder.

localhost="127.0.0.1";
page="apps/_design/bell/MyApp/index.html";
bell="http://$localhost:$port/$page";
firefox="/Applications/Firefox.app";
safari="/Applications/Safari.app";

if [ -x $firefox ];  then
open  $bell -a $firefox
else
open  $bell -a $safari
fi

I found this article and tried to create an app, which was created and did not work cause PowerPC applications are no longer supported. (I believe I need to read up on code signing) Then I found these Link 1 and Link 2 Created an automator application and it worked.

Now I am trying to write a script to use automator. Do you think I am on the right track. Please let me know.

dogi commented 8 years ago

@i5o created Bell-App.zip

Hulmani commented 8 years ago

@dogi Could you please elaborate? Do you mean to say this code has already been written? We need to fix it?

dogi commented 8 years ago

both

it has been written, but it would open favorite browser and not just firefox

dogi commented 8 years ago

@Hulmani also this zip file should be unzipped and added to the repository

Hulmani commented 8 years ago

@dogi Are you talking about the zip file you posted in this ISSUE?

Hulmani commented 8 years ago

Hello guys, please try this download this and try it out on your mac. And let me know does it work. You will have to change the security preferences or control click (easier option) and it should launch BeLL. I will work on how to sign the app and change the logo. BeLL-2.app.zip