Open jonmchan opened 5 months ago
Windows 10/11 is really missing a simple way to launch Windows Apps from command line... it should be something like windows-app-launcher
Anyways, to do this - you follow this methodology to figure out what the app exe is called:
Then you can use explorer to launch it.
vdesk run -o 4 -a "shell:appsFolder\7EE7776C.LinkedInforWindows_w1wdnht996qgy!App" explorer.exe
Launching script successfully written. It is available at https://github.com/jonmchan/windows-app-cmdline-launcher.
Now you can simply launch Microsoft Store apps with the following:
.\launch.bat Slack
Vdesk command would be something like:
vdesk run -o 2 -a Slack launch.bat
This causes vdesk to unfortunately hang. My guess would be that the launch batch script doesn't have a window, but launches a subprocess. vdesk is monitoring for the launched process to spawn a window and move it to the right virtual desktop. Since no window is directly spawned, it hangs indefinitely. Any ideas how to workaround?
Hi, i will investigate but my guest is windows app don't work like regular exe and the process is managed differently. I will see what can i do about it.
Windows 11 has some apps that aren't standard .exe anymore. Had to do some googling, but to launch something like the LinkedIn app, you have to do something like:
When trying this in vdesk, it fails.
I have no idea what kind of reference this is, but can it be supported in vdesk?