Set working dir on startup
This commit is contained in:
@@ -35,6 +35,13 @@ bool isHidden = false;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::wstring appDir;
|
||||
getAppDir(appDir);
|
||||
if (_wchdir(appDir.c_str()) != 0)
|
||||
{
|
||||
std::cout << "Failed to set working dir." << std::endl;
|
||||
}
|
||||
|
||||
ApplicationData applicationData{};
|
||||
ImGuiCallbacks callbacks{};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user