mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +00:00
Make remote link verification for disabling the autoupdater case-independent (#3287)
This commit is contained in:
parent
a4c5fa4b5c
commit
bad9cd097a
@ -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}")
|
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")
|
message(STATUS "not main, disabling auto update")
|
||||||
set(ENABLE_UPDATER OFF)
|
set(ENABLE_UPDATER OFF)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user