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:
@@ -23,7 +23,7 @@ UIScene_HelpAndOptionsMenu::UIScene_HelpAndOptionsMenu(int iPad, void *initData,
|
||||
// We don't have a reinstall content, so remove the button
|
||||
removeControl( &m_buttons[BUTTON_HAO_REINSTALL], false );
|
||||
|
||||
#ifdef _FINAL_BUILD
|
||||
#ifndef _DEBUG
|
||||
removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
|
||||
#else
|
||||
if(!app.DebugSettingsOn()) removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
|
||||
@@ -121,7 +121,7 @@ void UIScene_HelpAndOptionsMenu::updateComponents()
|
||||
|
||||
void UIScene_HelpAndOptionsMenu::handleReload()
|
||||
{
|
||||
#ifdef _FINAL_BUILD
|
||||
#ifndef _DEBUG
|
||||
removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
|
||||
#else
|
||||
if(!app.DebugSettingsOn()) removeControl( &m_buttons[BUTTON_HAO_DEBUG], false);
|
||||
|
||||
Reference in New Issue
Block a user