add auto current directory support

This commit is contained in:
iambossTC 2024-12-13 23:02:49 +08:00
parent 6a33831566
commit acef069fb0
4 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
cd /D "%~dp0."
:x
call HiNC-update.bat
cd HiNC

View File

@ -1,3 +1,4 @@
cd /D "%~dp0."
:x
cd HiNC
HiNcServer.exe

View File

@ -1,2 +1,3 @@
cd /D "%~dp0."
call HiNC-update.bat
PAUSE

View File

@ -1,3 +1,4 @@
cd /D "%~dp0."
set "git=%~dp0PortableGit/bin/git.exe"
set "remoteRepo=https://HiNC-Public-Client:HiNCProduct20241117@superhightech-gitea.webredirect.org/HiNC-Deploy/HiNC-Win-Product.git"
%git% clone %remoteRepo% HiNC