Skip to content

Commit

Permalink
enable devtools on debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
GEEKiDoS authored Sep 16, 2024
1 parent 644a8b6 commit d8e1a86
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/client/launcher/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,12 @@ void launcher::create_main_menu()
}
);

#if _DEBUG && !USE_EMBEDDED
smartview_->set_url("http://localhost:5173/");
#if _DEBUG
smartview_->set_dev_tools(true);
#endif

#if !USE_EMBEDDED
smartview_->set_url("http://localhost:5173/");
#else
smartview_->embed(laochan::embedded::all());
smartview_->serve("");
Expand Down

0 comments on commit d8e1a86

Please sign in to comment.