Browse Source

Remove "v" from all version messages.

tags/v2.2.0
Andrew Belt 2 years ago
parent
commit
c12f690786
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      adapters/standalone.cpp
  2. +1
    -1
      src/engine/Module.cpp
  3. +1
    -1
      src/patch.cpp
  4. +1
    -1
      src/plugin.cpp

+ 1
- 1
adapters/standalone.cpp View File

@@ -127,7 +127,7 @@ int main(int argc, char* argv[]) {
}

// 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());
std::string argsList;
for (int i = 0; i < argc; i++) {


+ 1
- 1
src/engine/Module.cpp View File

@@ -164,7 +164,7 @@ void Module::fromJson(json_t* rootJ) {
if (versionJ) {
std::string version = json_string_value(versionJ);
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());
}
}



+ 1
- 1
src/patch.cpp View File

@@ -483,7 +483,7 @@ void Manager::fromJson(json_t* rootJ) {
if (versionJ)
version = json_string_value(versionJ);
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


+ 1
- 1
src/plugin.cpp View File

@@ -196,7 +196,7 @@ static Plugin* loadPlugin(std::string path) {
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);
return plugin;
}


Loading…
Cancel
Save