You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Description
When deploying by powershell script i get error:
[12:40:30] 🚀 Deploying file '/scripts/powershell/Microsoft.PowerShell_profile.ps1' to 'copyToProfile.ps1 (Powershell profile path)' ... 🔥: 'spawnSync copyToProfile.ps1 UNKNOWN' [4 ms]
If i change "app": "copyToProfile.ps1" to "app": "copyToProfile.cmd", it works as expects.
copyToProfile.ps1:
Copy-Item .\scripts\powershell\Microsoft.PowerShell_profile.ps1 "C:\Users\trofimov\Documents\WindowsPowerShell" -force
copyToProfile.cmd
powershell -Command "Copy-Item .\scripts\powershell\Microsoft.PowerShell_profile.ps1 C:\Users\trofimov\Documents\WindowsPowerShell\ -force"
Example config
{
"deploy.reloaded": {
"packages": [
{
"name": "Powershell profile",
"description": "Powershell profile",
}
Your environment
Version: 1.39.0 (system setup)
Commit: 9df03c6d6ce97c6645c5846f6dfa2a6a7d276515
Date: 2019-10-09T06:58:04.439Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
The text was updated successfully, but these errors were encountered: