microsoft / devcenter-catalog

MIT License
26 stars 78 forks source link

Implement 'RunAsUser' feature in powershell task #67

Open ayuina opened 5 months ago

ayuina commented 5 months ago

Is your feature request related to a problem? Please describe. Some setup tasks need to run in user logon session like Show dialog and accept license agreement, Mount SMB file share as drive, Install vscode extension, etc.. So I think RunAsUser feature is important and should be provided by powershell task cataloged in this repo. It seems curious that git-clone and winget task have implementation while powershell task doesn't have.

Describe the solution you'd like Like powershell task in advanced samples repo. But it has mistake in task.yaml, not 'defaultValue' but 'default' for default value.

Describe alternatives you've considered I think this 'RunAsUser' feature is universal, so it should be provided by CaC feature of DevBox itself, not by each tasks.

Additional context I think the quick start catalog is very important for developer team. I'm looking forward to expanding the capabilities. Thanks !