game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
anonymous_namespace{wine_dependency_manager.cpp} Namespace Reference

Functions

std::string executeCommand (const std::string &cmd, int *exitCode=nullptr)
bool fileExists (const std::filesystem::path &path)
std::string findExecutable (const std::string &name)
std::string trim (const std::string &str)

Function Documentation

◆ executeCommand()

std::string anonymous_namespace{wine_dependency_manager.cpp}::executeCommand ( const std::string & cmd,
int * exitCode = nullptr )

Definition at line 28 of file wine_dependency_manager.cpp.

Referenced by findExecutable().

◆ fileExists()

bool anonymous_namespace{wine_dependency_manager.cpp}::fileExists ( const std::filesystem::path & path)

Definition at line 70 of file wine_dependency_manager.cpp.

◆ findExecutable()

std::string anonymous_namespace{wine_dependency_manager.cpp}::findExecutable ( const std::string & name)

Definition at line 62 of file wine_dependency_manager.cpp.

References ShellUtils::escapeArg(), and executeCommand().

◆ trim()

std::string anonymous_namespace{wine_dependency_manager.cpp}::trim ( const std::string & str)

Definition at line 76 of file wine_dependency_manager.cpp.