From 955a531655f8d890827e39efba0d9d0df11eea92 Mon Sep 17 00:00:00 2001 From: happytommyl Date: Tue, 5 Jul 2022 02:26:12 +0800 Subject: [PATCH] Change the working directory Change the working directory to that of the batch file so that it can be run globaly from the terminal --- run.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.ps1 b/run.ps1 index aaa68c6..30aa6b2 100644 --- a/run.ps1 +++ b/run.ps1 @@ -1,5 +1,5 @@ chcp 65001 - +Set-Location $PSScriptRoot $env:PATH = ".\ffmpeg\bin;.\python;" + $env:PATH # 不使用代理