This commit is contained in:
MangoPig 2025-12-03 03:14:58 +00:00
parent 7abc587124
commit 96a4d2ce5f

View File

@ -167,7 +167,7 @@ echo -e "${BLUE} LOG:${YELLOW} Configuring Git Credentials...${NC}"
if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null; then
GCM_WIN="/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe" GCM_WIN="/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe"
if [ -f "$GCM_WIN" ]; then if [ -f "$GCM_WIN" ]; then
git config --global credential.helper "$GCM_WIN" git config --global credential.helper "\"$GCM_WIN\""
fi fi
else else
# Linux Server: Cache credentials for 12 hour # Linux Server: Cache credentials for 12 hour