Skip to content

Commit

Permalink
移除aira2c
Browse files Browse the repository at this point in the history
  • Loading branch information
yajuhua committed May 26, 2024
1 parent 2d1a9d3 commit 35d7b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions platform/osx/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@

JAVA="$PWD/jre8/bin"
DATA="$PWD/data"
YTDLP="$PWD/yt-dlp"
PATH="$JAVA:$PWD:$YTDLP:$PATH"
PATH="$JAVA:$PWD:$PATH"
directory="$PWD/lib"
classpath="$PWD/classes"

for file in $(find "$directory" -type f); do
classpath="$classpath:$file"
done

nohup "$PWD/aria2c" --conf-path="$PWD/aria2.conf" > aria2.log 2>&1 &
echo "aria2RPC start"
java -Dfile.encoding=utf-8 -classpath "$classpath" -Dpodcast2.data.data-path="$DATA" io.github.yajuhua.podcast2.Podcast2Application
3 changes: 1 addition & 2 deletions platform/windows/start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ set "classpath=%PWD%classes"
for /r "%directory%" %%I in (*) do (
set "classpath=!classpath!;%%~fI"
)
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

0 comments on commit 35d7b7a

Please sign in to comment.