diff --git a/HiNC-update-gitcode.bat b/HiNC-update-gitcode.bat index fa22c7f..55aa902 100644 --- a/HiNC-update-gitcode.bat +++ b/HiNC-update-gitcode.bat @@ -1,8 +1,8 @@ cd /D "%~dp0." set "git=%~dp0PortableGit/bin/git.exe" set "remoteRepo=https://gitcode.com/mq2kr3j92/HiNC-Win-Product.git" -%git% clone %remoteRepo% HiNC +"%git%" clone "%remoteRepo%" HiNC cd HiNC -%git% remote set-url origin %remoteRepo% -%git% reset --hard && %git% pull +"%git%" remote set-url origin "%remoteRepo%" +"%git%" reset --hard && "%git%" pull cd .. \ No newline at end of file diff --git a/HiNC-update.bat b/HiNC-update.bat index e8edfbf..467daf1 100644 --- a/HiNC-update.bat +++ b/HiNC-update.bat @@ -1,8 +1,8 @@ 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 +"%git%" clone "%remoteRepo%" HiNC cd HiNC -%git% remote set-url origin %remoteRepo% -%git% reset --hard && %git% pull +"%git%" remote set-url origin "%remoteRepo%" +"%git%" reset --hard && "%git%" pull cd .. \ No newline at end of file