Skip to content

Commit

Permalink
Plugin: Doc change
Browse files Browse the repository at this point in the history
Updated the commented out example of overriding the updater recent version info
so its easier to debug in the future
  • Loading branch information
hbeni committed Jul 12, 2021
1 parent 8f5ab87 commit 902805d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions client/mumble-plugin/lib/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,12 @@ void fgcom_getLatestReleaseFromGithub_Web() {

/*
fgcom_release_latest.version.major = std::stoi("0");
fgcom_release_latest.version.minor = std::stoi("4");
fgcom_release_latest.version.patch = std::stoi("0");
fgcom_release_latest.tag = "v.0.4.0";
fgcom_release_latest.url = "https://github.com/hbeni/fgcom-mumble/releases/tag/v.0.4.0";
fgcom_release_latest.downUrl = "https://github.com/hbeni/fgcom-mumble/releases/download/v.0.3.0/";
fgcom_release_latest.version.minor = std::stoi("14");
fgcom_release_latest.version.patch = std::stoi("2");
fgcom_release_latest.tag = "v.0.14.2";
fgcom_release_latest.url = "https://github.com/hbeni/fgcom-mumble/releases/tag/"+fgcom_release_latest.tag;
fgcom_release_latest.downUrl = "https://github.com/hbeni/fgcom-mumble/releases/download/"+fgcom_release_latest.tag
+ "/fgcom-mumble-"+std::to_string(fgcom_release_latest.version.major)+"."+std::to_string(fgcom_release_latest.version.minor)+"."+std::to_string(fgcom_release_latest.version.patch)+".mumble_plugin";
pluginLog("[TEST]: Updater TEST CODE IN EFFECT!");
return;
Expand Down

0 comments on commit 902805d

Please sign in to comment.