mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-10-06 06:50:16 +00:00
Add Launcher_DEV_DATA to separate dev build data from prod data
This commit is contained in:
parent
fa5a0fd0b7
commit
a9ec415c64
@ -96,6 +96,9 @@ set(Launcher_SUBREDDIT_URL "" CACHE STRING "URL for the subreddit.")
|
|||||||
# Use the secrets library or a public stub?
|
# Use the secrets library or a public stub?
|
||||||
option(Launcher_EMBED_SECRETS "Determines whether to embed secrets. Secrets are separate and non-public." OFF)
|
option(Launcher_EMBED_SECRETS "Determines whether to embed secrets. Secrets are separate and non-public." OFF)
|
||||||
|
|
||||||
|
# Use development data folder(s)
|
||||||
|
option(Launcher_DEV_DATA "Use separate, development data folders." ON)
|
||||||
|
|
||||||
#### Custom target to feed the version to github actions.
|
#### Custom target to feed the version to github actions.
|
||||||
add_custom_target(ga_version echo ::set-output name=version::${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}.${PROJECT_VERSION_TWEAK})
|
add_custom_target(ga_version echo ::set-output name=version::${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}.${PROJECT_VERSION_TWEAK})
|
||||||
|
|
||||||
|
@ -9,7 +9,11 @@ set(Launcher_Copyright "MultiMC Contributors" CACHE INTERNAL "")
|
|||||||
set(Launcher_Copyright_Full "Copyright 2015-2023 ${Launcher_Copyright}" CACHE INTERNAL "")
|
set(Launcher_Copyright_Full "Copyright 2015-2023 ${Launcher_Copyright}" CACHE INTERNAL "")
|
||||||
set(Launcher_Domain "multimc.org" CACHE INTERNAL "")
|
set(Launcher_Domain "multimc.org" CACHE INTERNAL "")
|
||||||
set(Launcher_Name "${Launcher_CommonName}" CACHE INTERNAL "")
|
set(Launcher_Name "${Launcher_CommonName}" CACHE INTERNAL "")
|
||||||
set(Launcher_FSName "devlauncher" CACHE INTERNAL "")
|
if(Launcher_DEV_DATA)
|
||||||
|
set(Launcher_FSName "devlauncher-dev" CACHE INTERNAL "")
|
||||||
|
else()
|
||||||
|
set(Launcher_FSName "devlauncher" CACHE INTERNAL "")
|
||||||
|
endif()
|
||||||
set(Launcher_DisplayName "${Launcher_CommonName} 6" CACHE INTERNAL "")
|
set(Launcher_DisplayName "${Launcher_CommonName} 6" CACHE INTERNAL "")
|
||||||
set(Launcher_UserAgent "${Launcher_CommonName}/6.0" CACHE INTERNAL "")
|
set(Launcher_UserAgent "${Launcher_CommonName}/6.0" CACHE INTERNAL "")
|
||||||
set(Launcher_ConfigFile "${Launcher_FSName}.cfg" CACHE INTERNAL "")
|
set(Launcher_ConfigFile "${Launcher_FSName}.cfg" CACHE INTERNAL "")
|
||||||
|
Loading…
Reference in New Issue
Block a user