summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:32:33 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-20 13:32:33 -0400
commite70f905372f30887778d72f5a321be76731b7b82 (patch)
tree8ad80e972031e6d4136d1f37ee72d1f0573a54c5
parent561031b42185cff56fee8c7a59fea5654bac7bb7 (diff)
downloadether-e70f905372f30887778d72f5a321be76731b7b82.tar.gz
ether-e70f905372f30887778d72f5a321be76731b7b82.tar.bz2
ether-e70f905372f30887778d72f5a321be76731b7b82.zip
windows resource path
-rw-r--r--src/runtime_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime_test.cpp b/src/runtime_test.cpp index b4a6d34..c3961e7 100644 --- a/src/runtime_test.cpp +++ b/src/runtime_test.cpp
@@ -1,5 +1,9 @@
1#include "runtime.h" 1#include "runtime.h"
2 2
3std::string Runtime::getResourcePath(std::string_view name) { 3std::string Runtime::getResourcePath(std::string_view name) {
4#ifdef MSVC
5 return std::string("res/") + std::string(name);
6#else
4 return std::string("../res/") + std::string(name); 7 return std::string("../res/") + std::string(name);
8#endif
5} 9}