Toxblh / WinToLinux

Reboot Windows to Linux in two clicks! Editing UEFI order for next start of the system
MIT License
84 stars 3 forks source link

Won't auto start if laptop not connected to ac adapter #6

Open Winson-Huang opened 6 months ago

Winson-Huang commented 6 months ago

Firstly I have to say this is an awesome tool for dual boot users! Thanks the author!

When used in laptop and set to auto start, it will not start after logging in, if the laptop isn't connected to an ac adapter. And even if the laptop is connected to an ac adapter, WinToLinux will indeed auto start after logging in, but will auto exit if you disconnect the ac adapter then.

I noticed issue #2 and check the task created by auto start option, and I find in "Properties -> Conditions" there is an option called "Start the task only if the computer is on AC power", it's checked by default, and if it's unchecked, the problem above will disappear. So, I wonder if WinToLinux can uncheck this option by default when creating the task?

Thanks again!

Toxblh commented 6 months ago

Thank you. So that is some super unexpected behaviour for me 😅 I'll try to see