dotnet-script
dotnet-script copied to clipboard
consider use ${userHome} instead while init
https://code.visualstudio.com/docs/editor/variables-reference#_predefined-variables ${userHome} - the path of the user's home folder
We already use {env:HOME} (see which is effectively the same thing https://github.com/dotnet-script/dotnet-script/blob/703d0fab36ef3f4003e3d3aba2153563a8968261/src/Dotnet.Script.Core/Templates/globaltool.launch.json.template#L8)
have you had any problem with the current approach?
but when I init in vscode with windows11, the dotnet-script provide the absolute path,not the home
which version of dotnet script are you using? it might be you are using the older one? also, if the file already existed before, it won't be updated
which version of dotnet script are you using? it might be you are using the older one? also, if the file already existed before, it won't be updated
1.4.0 and can you try in your windows ? I can repro this 视频.webm