@@ -127,7 +127,7 @@ int main(int argc, char* argv[]) { | |||||
} | } | ||||
// Log environment | // Log environment | ||||
INFO("%s %s v%s", APP_NAME.c_str(), APP_EDITION_NAME.c_str(), APP_VERSION.c_str()); | |||||
INFO("%s %s %s", APP_NAME.c_str(), APP_EDITION_NAME.c_str(), APP_VERSION.c_str()); | |||||
INFO("%s", system::getOperatingSystemInfo().c_str()); | INFO("%s", system::getOperatingSystemInfo().c_str()); | ||||
std::string argsList; | std::string argsList; | ||||
for (int i = 0; i < argc; i++) { | for (int i = 0; i < argc; i++) { | ||||
@@ -164,7 +164,7 @@ void Module::fromJson(json_t* rootJ) { | |||||
if (versionJ) { | if (versionJ) { | ||||
std::string version = json_string_value(versionJ); | std::string version = json_string_value(versionJ); | ||||
if (version != this->model->plugin->version) { | if (version != this->model->plugin->version) { | ||||
INFO("Patch created with %s v%s, currently using v%s.", this->model->plugin->slug.c_str(), version.c_str(), this->model->plugin->version.c_str()); | |||||
INFO("Patch created with %s %s, currently using version %s.", this->model->plugin->slug.c_str(), version.c_str(), this->model->plugin->version.c_str()); | |||||
} | } | ||||
} | } | ||||
@@ -483,7 +483,7 @@ void Manager::fromJson(json_t* rootJ) { | |||||
if (versionJ) | if (versionJ) | ||||
version = json_string_value(versionJ); | version = json_string_value(versionJ); | ||||
if (version != APP_VERSION) { | if (version != APP_VERSION) { | ||||
INFO("Patch was made with Rack v%s, current Rack version is v%s", version.c_str(), APP_VERSION.c_str()); | |||||
INFO("Patch was made with Rack %s, current Rack version is %s", version.c_str(), APP_VERSION.c_str()); | |||||
} | } | ||||
// path | // path | ||||
@@ -196,7 +196,7 @@ static Plugin* loadPlugin(std::string path) { | |||||
return NULL; | return NULL; | ||||
} | } | ||||
INFO("Loaded %s v%s", plugin->slug.c_str(), plugin->version.c_str()); | |||||
INFO("Loaded %s %s", plugin->slug.c_str(), plugin->version.c_str()); | |||||
plugins.push_back(plugin); | plugins.push_back(plugin); | ||||
return plugin; | return plugin; | ||||
} | } | ||||