MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / promptDirectory

Function promptDirectory

src/Platform/src/Platform.Posix.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 fs::path promptDirectory([[maybe_unused]] const std::string& Title, [[maybe_unused]] void* hwnd)
106 {
107 std::string input;
108 std::cout << "Type your Locomotion path: ";
109 std::cin >> input;
110
111 auto path = fs::canonical(input);
112 return path;
113 }
114#endif // !(defined(__APPLE__) && defined(__MACH__))
115
116 bool isRunningInWine()

Callers 1

resolveLocoInstallPathFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected