diff --git a/AsuroTool/AsuroTool.cpp b/AsuroTool/AsuroTool.cpp index 7e050d8..c4e74b9 100644 --- a/AsuroTool/AsuroTool.cpp +++ b/AsuroTool/AsuroTool.cpp @@ -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{}; diff --git a/AsuroTool/AsuroTool.vcxproj b/AsuroTool/AsuroTool.vcxproj index c60cb41..4a0a73a 100644 --- a/AsuroTool/AsuroTool.vcxproj +++ b/AsuroTool/AsuroTool.vcxproj @@ -98,7 +98,8 @@ Console true pathcch.lib;%(AdditionalDependencies) - msvcrt.lib + + @@ -117,7 +118,8 @@ true true pathcch.lib;%(AdditionalDependencies) - msvcrt.lib + + @@ -132,7 +134,8 @@ Console true pathcch.lib;%(AdditionalDependencies) - msvcrt.lib + + @@ -151,7 +154,8 @@ true true pathcch.lib;%(AdditionalDependencies) - msvcrt.lib + + diff --git a/ImguiNodes/ImguiNodes.vcxproj b/ImguiNodes/ImguiNodes.vcxproj index 92241d7..04b70bb 100644 --- a/ImguiNodes/ImguiNodes.vcxproj +++ b/ImguiNodes/ImguiNodes.vcxproj @@ -96,7 +96,8 @@ Console true - msvcrt.lib + + @@ -113,7 +114,8 @@ true true true - msvcrt.lib + + @@ -126,7 +128,8 @@ Console true - msvcrt.lib + + @@ -143,7 +146,8 @@ true true true - msvcrt.lib + +