mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
ci: add some comments
This commit is contained in:
@@ -105,9 +105,11 @@ namespace swift::misc::simulation::fscommon
|
|||||||
if (!d.exists()) { continue; }
|
if (!d.exists()) { continue; }
|
||||||
return msfsPackage;
|
return msfsPackage;
|
||||||
}
|
}
|
||||||
// then we look for Steam-Edition
|
// then we look for steam-edition
|
||||||
for (QString path : locations)
|
for (QString path : locations)
|
||||||
{
|
{
|
||||||
|
// there seems to be no constant for the roaming directory, so we have to do some magic
|
||||||
|
// https://doc.qt.io/qt-6/qstandardpaths.html
|
||||||
path.replace("Local", "Roaming");
|
path.replace("Local", "Roaming");
|
||||||
const QString msfsPackage =
|
const QString msfsPackage =
|
||||||
CFileUtils::appendFilePaths(CFileUtils::appendFilePaths(path, "Microsoft Flight Simulator"), "");
|
CFileUtils::appendFilePaths(CFileUtils::appendFilePaths(path, "Microsoft Flight Simulator"), "");
|
||||||
|
|||||||
Reference in New Issue
Block a user