Closed Jerks88 closed 1 year ago
Unexpected token 'daemon' in expression or statement
Can you please send a screenshot of that error?
There is not really something to see, but sure:
Oh, I understood some error was popping out...
Please check on the settings tab if autostart is not disabled. I know it worked before but I have received reports of people getting their settings changed when updating...
Wait, let me check the behaviour. It's a while ago, but there was a reason for me to not use this option and start it via script instead.
Ah ok, the argument "--daemon" only works if the option is enabled. My problem was, that I had to start it as administrator to get rid of the UAC when it automatically updates packages. So at some point I disabled the autostart in task manager, let the option ckecked in WingetUI and wrote a script to use saved administrator credentials to start it as administrator with "--daemon".
Seems like I or an update unchecked this option, wich breaks my solution. Would be nice if there would be an additional option to start it as administrator and provide admin-credentials if needed.
Oh, I understood some error was popping out...
Please check on the settings tab if autostart is not disabled. I know it worked before but I have received reports of people getting their settings changed when updating...
Maybe its helpful for more ppl to add this fact to your documentation of the command-line parameters
I will expand the documentation on this parameter
Where is the documentation on the parameter please? I cannot find it.
https://github.com/marticliment/WingetUI?tab=readme-ov-file#command-line-parameters
That link doesn't seem to work for me.
scroll down to the bottom of the readme
Please confirm these before moving forward
Describe your issue
When I try to start WingetUI as admin by running a scheduled task triggering "Wingetui.exe" with the argument "--daemon" it doesn't work anymore since 2.1.1. Everything was fine in 2.10, but after the update it doesn't work anymore.
I get the error "Unexpected token 'daemon' in expression or statement."
Steps to reproduce the issue
Just try to start WingetUI as daemon after upgrade to 2.1.1.
WingetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos