Whitebrim / VSCode-PlaydateTemplate

This template will help you with autocompletion and running your code in simulator. Windows & Linux.
202 stars 25 forks source link

Unnecessary Admin? #6

Closed kmcginn closed 2 years ago

kmcginn commented 2 years ago

I don't think it is strictly necessary to run VS Code as Admin to get this whole process working. I've been able to successfully build from a non-admin VS Code session using this template.

If the problem is with the closeSim.ps1 script, I think setting the PowerShell execution policy to RemoteSigned will allow it to run the script after it has been Unblocked. The commands in the script itself don't seem to require Admin in order to work.

I'd be curious to hear why it may have been necessary in the past!

Whitebrim commented 2 years ago

I simply didn't know about PowerShell execution policy, let me change readme

Whitebrim commented 2 years ago

51c7d60a07902f3ad7b6df5603cdcf6fec9b7d36