remade text type switch as tabview
This commit is contained in:
22
main.cpp
22
main.cpp
@@ -21,17 +21,17 @@ int main(int argc, char *argv[]) {
|
||||
OFD ofd;
|
||||
Net n;
|
||||
|
||||
std::vector<std::string> ofd_updates = ofd.check_updates();
|
||||
for (const std::string &update : ofd_updates) {
|
||||
std::cout << "Downloading "
|
||||
<< s.get_setting("ofds_modules_url") + update << " to "
|
||||
<< get_path_relative_to_home(s.get_setting("ofds_modules_dir") +
|
||||
"/" + update)
|
||||
<< std::endl;
|
||||
n.get_file(s.get_setting("ofds_modules_url") + "/" + update,
|
||||
get_path_relative_to_home(s.get_setting("ofds_modules_dir") +
|
||||
"/" + update));
|
||||
}
|
||||
// std::vector<std::string> ofd_updates = ofd.check_updates();
|
||||
// for (const std::string &update : ofd_updates) {
|
||||
// std::cout << "Downloading "
|
||||
// << s.get_setting("ofds_modules_url") + update << " to "
|
||||
// << get_path_relative_to_home(s.get_setting("ofds_modules_dir") +
|
||||
// "/" + update)
|
||||
// << std::endl;
|
||||
// n.get_file(s.get_setting("ofds_modules_url") + "/" + update,
|
||||
// get_path_relative_to_home(s.get_setting("ofds_modules_dir") +
|
||||
// "/" + update));
|
||||
// }
|
||||
|
||||
Parser p;
|
||||
std::vector<std::string> stores_updates = p.check_updates();\
|
||||
|
||||
Reference in New Issue
Block a user