forked from pieeebot/cafeberry
feat: Postbuild Scripts & Disable Debug Features on Release Builds (#3)
This adds postbuild scripts for PS3, Windows64 & Orbis (Rough Estimation) This also Excludes the Durango Networking files from being added into other builds along with setting Minecraft.client as the startup project and disabling debug features on release builds. --------- Co-authored-by: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Reviewed-on: https://git.neolegacy.dev/Project-Elysium/main/pulls/3 Co-authored-by: str1k3r <15+str1k3r@noreply.neolegacy.dev> Co-committed-by: str1k3r <15+str1k3r@noreply.neolegacy.dev>
This commit is contained in:
@@ -61,7 +61,7 @@ UIScene_InGamePlayerOptionsMenu::UIScene_InGamePlayerOptionsMenu(int iPad, void
|
||||
|
||||
if(m_editingSelf)
|
||||
{
|
||||
#if (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
|
||||
#ifndef _DEBUG // (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
|
||||
removeControl( &m_checkboxes[eControl_Op], true );
|
||||
#else
|
||||
m_checkboxes[eControl_Op].init(L"DEBUG: Creative",eControl_Op,Player::getPlayerGamePrivilege(m_playerPrivileges,Player::ePlayerGamePrivilege_CreativeMode));
|
||||
@@ -254,7 +254,7 @@ void UIScene_InGamePlayerOptionsMenu::handleReload()
|
||||
|
||||
if(m_editingSelf)
|
||||
{
|
||||
#if (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
|
||||
#ifndef _DEBUG // (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
|
||||
removeControl( &m_checkboxes[eControl_Op], true );
|
||||
#endif
|
||||
|
||||
@@ -348,7 +348,7 @@ void UIScene_InGamePlayerOptionsMenu::handleInput(int iPad, int key, bool repeat
|
||||
bool cheats = app.GetGameHostOption(eGameHostOption_CheatsEnabled) != 0;
|
||||
if(m_editingSelf)
|
||||
{
|
||||
#if (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
|
||||
#ifndef _DEBUG // (defined(_CONTENT_PACKAGE) || defined(_FINAL_BUILD) && !defined(_DEBUG_MENUS_ENABLED))
|
||||
#else
|
||||
Player::setPlayerGamePrivilege(m_playerPrivileges,Player::ePlayerGamePrivilege_CreativeMode,m_checkboxes[eControl_Op].IsChecked());
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user