mzdr / timestamp

⏰ A better macOS menu bar clock.
https://mzdr.github.io/timestamp/
MIT License
313 stars 29 forks source link

Won't start at startup #17

Closed IamAliSufyan closed 3 years ago

IamAliSufyan commented 7 years ago

I have checked the "Start at Login" in the Preferences but it won't start automatically.

mzdr commented 7 years ago

Hey there!

Thanks for reporting! Which version of OSX/macOS are you running on? Also could you check, when you have enabled "Start at Login", if there is an entry in your System Preferences under Users & GroupsLogin Items ?

image

IamAliSufyan commented 7 years ago

Thank you for reply!

I am running madOS Sierra Version 10.12.1 It is also there in my System Preferences under Users & Groups → Login Items as you can see in attached image. image

Also, is there a way I could run 2 instances of TimeStamp. I want 1 with my local time and other with (my local hour - 9). Is this possible?

mzdr commented 7 years ago

Hey there!

At first I thought this might be an issue with macOS Sierra but it's not. Have you (accidentally) moved the Timestamp application after you've enabled Start at Login? This would explain why there is no logo and this warning icon.

Try to disable and re-enable the Start at Login checkbox and check the System Preferences again if there is the correct logo and the warning icon has gone.

Regarding your question about multiple instances, there is theoretically a way to achieve this. From the official Electron docs:

On macOS the system enforces single instance automatically when users try to open a second instance of your app in Finder, and the open-file and open-url events will be emitted for that. However when users start your app in command line the system’s single instance mechanism will be bypassed[…]

This also means that multiple Timestamp instances would currently share the same settings. I could implement a command line parameter that gives you the ability to define the name of the settings file and therefore you can start Timestamp with separate settings.

Feel free to open another issue with this feature request and I'll have a look into it. 👍

IamAliSufyan commented 7 years ago

Hi,

I did disable and re-enable thing and Icon starts showing but it still won't start after restart. screen shot 2017-01-11 at 2 35 55 pm

mzdr commented 3 years ago

Please try again with 1.1.0 which will be released soon. If this bug is still there please reopen this ticket or reply here.