Skip to content

Commit

Permalink
Mewu/upgrade (#42)
Browse files Browse the repository at this point in the history
update version
  • Loading branch information
MeWu-IDM authored Apr 27, 2024
1 parent acb807f commit 978d80a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions start_pace_ui.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cls
setlocal
@echo off
SET VERSION=1.0.0
SET VERSION=1.0.1

REM Determine if this a git repository
IF EXIST ".git" (
Expand Down Expand Up @@ -254,11 +254,13 @@ FOR /d /r "%APP_DIR%" %%i in (*) do (
REM Check if the current directory is named 'pace_results'
if "%%~nxi"=="pace_results" (
ECHO 'pace_results' found at: "%%i"
move "%%i" "%TEMP%\tmp_pace_hrh_ui" || (
ECHO Failed to move 'pace_results' to %TEMP%
RD /Q /S "%TEMP%\tmp_pace_hrh_ui" 2>nul
MD "%TEMP%\tmp_pace_hrh_ui" 2>NUL
MOVE /Y "%%i" "%TEMP%\tmp_pace_hrh_ui" || (
ECHO Failed to move 'pace_results' to %TEMP%\tmp_pace_hrh_ui\%RELATIVE_PATH%
ECHO Please close your application and try again.
ECHO If there is a permission issue, please contact your IT administrator.
ECHO Alternatively, manually remove "%TEMP%\tmp_pace_hrh_ui".
ECHO Alternatively, manually save "%%i" and restore files after upgrade.
PAUSE > nul
exit /b 1
)
Expand Down

0 comments on commit 978d80a

Please sign in to comment.