MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / isPortableInstall

Function isPortableInstall

TheForceEngine/TFE_FileSystem/paths.cpp:413–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411 }
412
413 bool isPortableInstall()
414 {
415 // Support "Portable" methods as well.
416 char portableSettingsPath[TFE_MAX_PATH];
417 TFE_Paths::appendPath(PATH_PROGRAM, "settings.ini", portableSettingsPath);
418 if (FileUtil::exists(portableSettingsPath))
419 {
420 return true;
421 }
422 return false;
423 }
424
425 void getAllFilesFromSearchPaths(const char* subdirectory, const char* ext, FileList& allFiles)
426 {

Callers 2

setProgramDataPathFunction · 0.70
setUserDocumentsPathFunction · 0.70

Calls 2

appendPathFunction · 0.70
existsFunction · 0.70

Tested by

no test coverage detected