Profile loading with a shortcut is broken -- fails to start OpenRGB

Description of Bug

A recent commit seems to have broke profile loading with shortcuts during start-up. I use a shortcut placed in AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup so OpenRGB starts with my computer to turn LEDs off. The shortcut has the properties "C:\Program Files\OpenRGB\OpenRGB.exe" --gui --startminimized --profile off.orp.

Since v0.5's release, the shortcut no longer starts OpenRGB with the computer starting up or manually launching the shortcut. Removing the --profile off.orp property, the shortcut is able to launch OpenRGB. The profile does exist in AppData\Roaming\OpenRGB\off.orp and I did try re-saving it again new as of v0.5.

Using a dev build from a few weeks earlier, the shortcut starts fine, so I believe a recent change to profile loading may have just broke with shortcuts, preventing shortcuts from finding the profile and starting OpenRGB.

Doing some digging, I believe I found the breaking commit. ddfcd1ca

Pipeline job build #224055316 (build_windows_64), shortcut doesn't work. (Above commit build)

Pipeline job build #224016433 (build_windows_64), shortcut does work. (One commit prior to above)

Hardware Configuration

            "ASUS Aura Motherboard": true,
            "ASUS Aura SMBus": true,
            "MSI GPU": true,
Edited by mibby