Adjust launcher
This commit is contained in:
parent
d6db362296
commit
6545ca963c
@ -130,6 +130,8 @@ namespace updater
|
||||
|
||||
void update()
|
||||
{
|
||||
cleanup_update();
|
||||
|
||||
#if defined(NDEBUG) && defined(CI)
|
||||
try
|
||||
{
|
||||
@ -142,8 +144,6 @@ namespace updater
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
#else
|
||||
requires_update();
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -152,8 +152,6 @@ namespace updater
|
||||
public:
|
||||
component()
|
||||
{
|
||||
cleanup_update();
|
||||
|
||||
this->update_thread_ = std::thread([this]
|
||||
{
|
||||
update();
|
||||
|
@ -14,7 +14,7 @@ namespace launcher
|
||||
updater::update();
|
||||
|
||||
bool run_game = false;
|
||||
html_window window("BOIII", 550, 430);
|
||||
html_window window("BOIII", 550, 380);
|
||||
|
||||
window.get_html_frame()->register_callback(
|
||||
"openUrl", [](const std::vector<html_argument>& params) -> CComVariant
|
||||
|
@ -36,6 +36,7 @@ window::window(const std::string& title, const int width, const int height,
|
||||
|
||||
SendMessageA(this->handle_, WM_DPICHANGED, 0, 0);
|
||||
ShowWindow(this->handle_, SW_SHOW);
|
||||
SetForegroundWindow(this->handle_);
|
||||
}
|
||||
|
||||
window::~window()
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user