rename some function and variable

This commit is contained in:
MistEO
2021-07-24 16:23:36 +08:00
parent 5de4aa5074
commit 9418a0c857
15 changed files with 106 additions and 103 deletions

View File

@@ -6,23 +6,23 @@ int main(int argc, char** argv)
{
using namespace asst;
bool up = Updater::instance().has_new_version();
bool up = Updater::get_instance().has_new_version();
if (up) {
auto && info = Updater::instance().get_version_info();
auto && info = Updater::get_instance().get_version_info();
std::cout << "ÓÐа汾£º" << info.tag_name << std::endl;
std::cout << "µØÖ·£º" << info.html_url << std::endl;
}
Assistance asst;
auto ret = asst.setSimulator();
auto ret = asst.set_emulator();
if (!ret) {
DebugTraceError("Can't Find Simulator or Permission denied.");
DebugTraceError("Can't Find Emulator or Permission denied.");
getchar();
return -1;
}
else {
DebugTraceInfo("Find Simulator:", ret.value());
DebugTraceInfo("Find Emulator:", ret.value());
}
DebugTraceInfo("Start");