parent
0d07b39756
commit
a5f8044286
@ -5,14 +5,11 @@
|
|||||||
#include "html/html_window.hpp"
|
#include "html/html_window.hpp"
|
||||||
|
|
||||||
#include "resource.hpp"
|
#include "resource.hpp"
|
||||||
#include "component/updater.hpp"
|
|
||||||
|
|
||||||
namespace launcher
|
namespace launcher
|
||||||
{
|
{
|
||||||
bool run()
|
bool run()
|
||||||
{
|
{
|
||||||
updater::update();
|
|
||||||
|
|
||||||
bool run_game = false;
|
bool run_game = false;
|
||||||
html_window window("BOIII", 550, 380);
|
html_window window("BOIII", 550, 380);
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include "game/game.hpp"
|
#include "game/game.hpp"
|
||||||
#include "launcher/launcher.hpp"
|
#include "launcher/launcher.hpp"
|
||||||
|
#include "component/updater.hpp"
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -288,8 +289,10 @@ namespace
|
|||||||
if (!is_server)
|
if (!is_server)
|
||||||
{
|
{
|
||||||
trigger_high_performance_gpu_switch();
|
trigger_high_performance_gpu_switch();
|
||||||
|
updater::update();
|
||||||
|
|
||||||
if (!launcher::run())
|
const auto launch = utils::flags::has_flag("launch");
|
||||||
|
if (!launch && !launcher::run())
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user