Skip to content

Commit

Permalink
Fix env.cmd adding extra ':' to end of PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Yu committed Apr 27, 2022
1 parent dca8cc0 commit adf983e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ if %ERRORLEVEL% EQU 1 (
pause
exit 1
)
echo [Success] Python3 and related packages are installed
echo [Success] Python3 and related packages are installed.
set PATH=bin;build;%PATH%
2 changes: 1 addition & 1 deletion tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function release_win() {
[[ -z "$1" ]] && echo "Usage: ./run.sh release {directoryName}" && exit 4
mkdir -p "$1/bin"
cat env.cmd > "$1/run.cmd"
echo : >> "$1/run.cmd"
echo >> "$1/run.cmd"
echo 'python3 .\gui\main.py' >> "$1/run.cmd"
cp "$(dirname "$(which dot)")"/* "$1/bin/"
cp "$(which flex)" "$1/bin/"
Expand Down

0 comments on commit adf983e

Please sign in to comment.