Browse Source

Update Jupiter; adjust as necessary

master
Jessica James 3 years ago
parent
commit
d21728ff16
  1. 8
      src/Bot/src/Main.cpp
  2. 2
      src/Jupiter

8
src/Bot/src/Main.cpp

@ -183,14 +183,14 @@ int main(int argc, char* argv[]) {
std::cout << Jupiter::copyright << std::endl; std::cout << Jupiter::copyright << std::endl;
jessilib::app_parameters parameters{ argc, argv }; jessilib::app_parameters parameters{ argc, argv };
if (parameters.has_switch("help"sv)) { if (parameters.has_switch(u8"help"sv)) {
std::cout << "Help coming soon, to a theatre near you!" << std::endl; std::cout << "Help coming soon, to a theatre near you!" << std::endl;
return 0; return 0;
} }
std::string_view configFileName = parameters.get_value("config", "Config.ini"sv); std::string_view configFileName = jessilib::string_view_cast<char>(parameters.get_value(u8"config", u8"Config.ini"sv));
std::string_view plugins_directory = parameters.get_value("pluginsdir"sv); std::string_view plugins_directory = jessilib::string_view_cast<char>(parameters.get_value(u8"pluginsdir"sv));
std::string_view configs_directory = parameters.get_value("configsdir"sv); std::string_view configs_directory = jessilib::string_view_cast<char>(parameters.get_value(u8"configsdir"sv));
std::chrono::steady_clock::time_point load_start = std::chrono::steady_clock::now(); std::chrono::steady_clock::time_point load_start = std::chrono::steady_clock::now();

2
src/Jupiter

@ -1 +1 @@
Subproject commit f2757f777fdfda434ed5c263244d4cc380cca6a2 Subproject commit 230a341ee585b42db26f7b3da225b0236598ccee
Loading…
Cancel
Save