Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Start at login" feature broken on Windows #106

Open
Dtrieb opened this issue Dec 23, 2018 · 16 comments
Open

"Start at login" feature broken on Windows #106

Dtrieb opened this issue Dec 23, 2018 · 16 comments

Comments

@Dtrieb
Copy link

Dtrieb commented Dec 23, 2018

On the first start of my Win7 PC i get this error:

error

@todbot
Copy link
Owner

todbot commented Dec 23, 2018

Hi,
I don't speak German and I cannot select the text in that screenshot to do a translate. Is there someone to get the message of that dialog error as text or in English?

Also, I assume this is for the latest 2.2.1 version. Do you get the same error for 2.2.0?

@Dtrieb
Copy link
Author

Dtrieb commented Dec 23, 2018

@todbot

It mean:

The following file can't open:

File: app.asar

Its on the Version: 2.2.1
I didn't try 2.2.0.

@Dtrieb
Copy link
Author

Dtrieb commented Dec 23, 2018

#97 Like the same!?

@todbot
Copy link
Owner

todbot commented Dec 23, 2018

Is the issue you are seeing on startup or when double-clicking to start the application by hand?

@Dtrieb
Copy link
Author

Dtrieb commented Dec 23, 2018

I see this on startup.

I run:
msconfig.exe

msconfig_2018-12-23_19-43-21
msconfig_2018-12-23_19-43-52

@todbot
Copy link
Owner

todbot commented Dec 23, 2018

Does the Blink1Control2 app work when double-clicking to start the app or just on startup?

@Dtrieb
Copy link
Author

Dtrieb commented Dec 23, 2018

The Blink1Control2 app work when double-clicking to start the app.

@todbot
Copy link
Owner

todbot commented Dec 23, 2018

Ahh, okay thanks. I will do some experiments. It may take a few days.
As a workaround, you can turn off the "start at login" option in Blink1Control2 and use Windows directly do set this, like: https://helpdeskgeek.com/windows-7/add-programs-to-windows-7-startup-folder/

@Dtrieb
Copy link
Author

Dtrieb commented Jul 31, 2019

Happend on Version: 2.2.3 also!

@craigusus
Copy link

Happend on Version: 2.2.3 also!

Happening to me also, v2.2.3

@todbot
Copy link
Owner

todbot commented Oct 12, 2019

Hi @Dtrieb and @craigusus,
A few questions to help diagnose this:

  • What version of Windows are you running?
  • Is this a non-English version of Windows?
  • From what directory are you running Blink1Control2?
  • What is the value of your the environment %APPDATA%?

I think there's an issue with non-ASCII characters in the filepath, but I've not been able to recreate it locally. Thanks!

@craigusus
Copy link

Hi @todbot

  • Windows 10 Home 1903 build 18362.418
  • English
  • Default install directory when installing using the v2.2.3 installer. (C:\Users\Craig\AppData\Local\Programs\Blink1Control2)
  • %APPDATA% = C:\Users\Craig\AppData\Roaming

When the 'Start at Logon' option is checked it creates a REG entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run called "app." with the value:
"C:\Users\Craig\AppData\Local\Programs\Blink1Control2\resources\app.asar"

Where it should be:
C:\Users\Craig\AppData\Local\Programs\Blink1Control2\Blink1Control2.exe

@todbot
Copy link
Owner

todbot commented Oct 12, 2019

Ah, so this is a "error on Windows startup" not "error on app startup"?
That is, you can run Blink1Control2 by double-clicking, but the "start at login" does not work.

@craigusus
Copy link

Yes sorry, I can open the app from double-clicking on it. But when 'Start at login' is selected in 'Preferences' it creates the incorrect registry entry.

@todbot
Copy link
Owner

todbot commented Oct 12, 2019

Awesome, thanks. I think I found the bug in the library I'm using to do start-at-login. But I'm not sure how to fix it. Time for more research. :)

@todbot todbot changed the title Error on startup "Start at login" feature broken on Windows Oct 12, 2019
@Dtrieb
Copy link
Author

Dtrieb commented Oct 13, 2019

Hi @todbot & @craigusus

Windows 7
German
C:\Users\Daniel Schlapa\AppData\Local\Programs\Blink1Control2\Blink1Control2.exe
C:\Users\Daniel Schlapa\AppData\Roaming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants