"Start at login" feature broken on Windows
On the first start of my Win7 PC i get this error:

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?
@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.
#97 Like the same!?
Is the issue you are seeing on startup or when double-clicking to start the application by hand?
I see this on startup.
I run: msconfig.exe

Does the Blink1Control2 app work when double-clicking to start the app or just on startup?
The Blink1Control2 app work when double-clicking to start the app.
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/
Happend on Version: 2.2.3 also!
Happend on Version: 2.2.3 also!
Happening to me also, v2.2.3
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!
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
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.
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.
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. :)
Hi @todbot & @craigusus
Windows 7 German C:\Users\Daniel Schlapa\AppData\Local\Programs\Blink1Control2\Blink1Control2.exe C:\Users\Daniel Schlapa\AppData\Roaming