Skip to content

Commit

Permalink
Fixed edge case error
Browse files Browse the repository at this point in the history
Added condition check to prevent error with .au3 and .exe version of width script
  • Loading branch information
Cosmic-Infinity committed Apr 8, 2023
1 parent ee30220 commit 081c1df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions split.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ move "%1" "%~n1"
rem echo "%~dpn1\%~nx1" > test.txt
echo %~dp1%~n1\%~nx1> test.txt

if exist width.exe (
start /wait width.exe
) else (
start /wait width.au3
)

set /p divisions=< test.txt

Expand Down

0 comments on commit 081c1df

Please sign in to comment.