stubbing out for big things ahead :)

This commit is contained in:
2025-01-20 15:42:44 -08:00
parent 2d620be9d8
commit ce8c26e58c
7 changed files with 3827 additions and 2 deletions

23
src/steam/paths.cpp Normal file
View File

@@ -0,0 +1,23 @@
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include "vdf_parser.hpp"
#include "bottles.hpp"
#include "steam.hpp"
#include "internal/steam.hpp"
using namespace tyti;
std::vector<std::string> cellar::steam::find_steam_libraries() {
std::stringstream sstr_steam_library_config;
sstr_steam_library_config << std::getenv("HOME");
sstr_steam_library_config << "/.steam/root/config/libraryfolders.vdf";
std::string str_steam_library_config = sstr_steam_library_config.str();
std::ifstream fd_steam_library_config(str_steam_library_config);
auto hnd_steam_library_config = vdf::read(fd_steam_library_config);
}