Browse Source

Add settings::isPlugin.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
29ab1716fd
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      include/settings.hpp
  2. +1
    -0
      src/settings.cpp

+ 1
- 0
include/settings.hpp View File

@@ -25,6 +25,7 @@ namespace settings {
extern std::string settingsPath;
extern bool devMode;
extern bool headless;
extern bool isPlugin;

// Persistent state, serialized to settings.json.



+ 1
- 0
src/settings.cpp View File

@@ -18,6 +18,7 @@ namespace settings {
std::string settingsPath;
bool devMode = false;
bool headless = false;
bool isPlugin = false;

std::string token;
bool windowMaximized = false;


Loading…
Cancel
Save