mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 08:11:20 +00:00
pwsh: Persist Microsoft.VSCode_profile.ps1 (#4327)
* Pwsh persist add Microsoft.VSCode_profile.ps1 * Update pwsh.json
This commit is contained in:
parent
8a78392dd8
commit
e702aa6fbc
@ -25,7 +25,7 @@
|
||||
}
|
||||
},
|
||||
"pre_install": [
|
||||
"'Microsoft.PowerShell_profile.ps1', 'profile.ps1' | ForEach-Object {",
|
||||
"'Microsoft.VSCode_profile.ps1', 'Microsoft.PowerShell_profile.ps1', 'profile.ps1' | ForEach-Object {",
|
||||
" if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" | Out-Null }",
|
||||
"}"
|
||||
],
|
||||
@ -50,6 +50,7 @@
|
||||
]
|
||||
],
|
||||
"persist": [
|
||||
"Microsoft.VSCode_profile.ps1",
|
||||
"Microsoft.PowerShell_profile.ps1",
|
||||
"profile.ps1"
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user