diff options
Diffstat (limited to 'GUI/package.ps1')
| -rw-r--r-- | GUI/package.ps1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1 index fa5e162..5f15259 100644 --- a/GUI/package.ps1 +++ b/GUI/package.ps1 @@ -6,6 +6,8 @@ param( echo "Skip zip: $skip_zip"
echo "Release: $release"
+$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
+
$install_dir = "TaSTT"
if (Test-Path $install_dir) {
@@ -28,7 +30,8 @@ if (-Not (Test-Path $py_dir)) { mkdir Python
Expand-Archive $PYTHON_FILE -DestinationPath Python
- rm Python/python310._pth
+ echo "../Scripts" >> Python/python310._pth
+ echo "import site" >> Python/python310._pth
}
$pip_path = "$py_dir/get-pip.py"
|
