From dfc45e664c8694eb450197fbc5ca54f3d1712919 Mon Sep 17 00:00:00 2001 From: Coding for fun Date: Fri, 17 Nov 2023 13:53:18 +0100 Subject: [PATCH] Fix path --- setup/install_python_tools.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/install_python_tools.ps1 b/setup/install_python_tools.ps1 index 8fbe268..aab95dc 100644 --- a/setup/install_python_tools.ps1 +++ b/setup/install_python_tools.ps1 @@ -139,8 +139,8 @@ Remove-Item parseUSBs2.py Copy-Item $SETUP_PATH\msidump.py .\msidump.py New-Item -ItemType Directory C:\tmp\rename > $null 2>&1 -Get-ChildItem C:\venv\default\Scripts\ -Exclude *.exe,*.py,*.ps1,activate,__pycache__,*.bat | ForEach-Object { Copy-Item $_ C:\tmp\test } -Set-Location C:\tmp\test +Get-ChildItem C:\venv\default\Scripts\ -Exclude *.exe,*.py,*.ps1,activate,__pycache__,*.bat | ForEach-Object { Copy-Item $_ C:\tmp\rename } +Set-Location C:\tmp\rename Get-ChildItem | Rename-Item -newname { $_.Name +".py" } Copy-Item * C:\venv\default\Scripts deactivate