From bad9cd097ad5c409bed9eeb98355e32b0d9705f3 Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Mon, 21 Jul 2025 23:52:01 +0200 Subject: [PATCH] Make remote link verification for disabling the autoupdater case-independent (#3287) --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a7bd8e1f..c42ffe43c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,7 +214,8 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/common/scm_rev.cpp.in" "${CMAKE_ message("-- end git things, remote: ${GIT_REMOTE_NAME}, branch: ${GIT_BRANCH}, link: ${GIT_REMOTE_URL}") -if(NOT GIT_REMOTE_URL MATCHES "shadps4-emu/shadPS4" OR NOT GIT_BRANCH STREQUAL "main") +string(TOLOWER "${GIT_REMOTE_URL}" GIT_REMOTE_URL_LOWER) +if(NOT GIT_REMOTE_URL_LOWER MATCHES "shadps4-emu/shadps4" OR NOT GIT_BRANCH STREQUAL "main") message(STATUS "not main, disabling auto update") set(ENABLE_UPDATER OFF) endif()