From e90e6efbd47e9615a63dafb6e5f20c6e13dd088f Mon Sep 17 00:00:00 2001
From: yajuhua <yajuhua@outlook.com>
Date: Tue, 30 Apr 2024 15:26:53 +0800
Subject: [PATCH] update start.bat

---
 platform/windows/start.bat | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/platform/windows/start.bat b/platform/windows/start.bat
index 71b920f..8236148 100644
--- a/platform/windows/start.bat
+++ b/platform/windows/start.bat
@@ -6,19 +6,14 @@ set JAVA=%PWD%jre8/bin
 set DATA=%PWD%data
 set "PATH=%JAVA%;%PWD%;%PATH%"
 set "directory=%PWD%\lib"
-set "classpath=%PWD%;classes"
+set "classpath=%PWD%classes"
 
 rem 遍历指定目录下的所有文件
 for /r "%directory%" %%I in (*) do (
     set "classpath=!classpath!;%%~fI"
 )
-
-rem 去掉开头的分号
-if defined classpath (
-    set "classpath=!classpath:~1!"
-)
 start /b %PWD%aria2c.exe --conf-path=%PWD%aria2.conf > aria2.log
 echo "aria2RPC start"
 chcp 65001
 java -Dfile.encoding=utf-8 -classpath "%classpath%" -Dpodcast2.data.data-path=%DATA% io.github.yajuhua.podcast2.Podcast2Application
-endlocal
+endlocal
\ No newline at end of file