diff --git a/core/couch.cpp b/core/couch.cpp index 639aa3c..e01f81d 100644 --- a/core/couch.cpp +++ b/core/couch.cpp @@ -1,3 +1,6 @@ +// C includes +#include + // C++ includes #include @@ -54,7 +57,12 @@ void render(Node *curr, Shader *shader, Matrix model) { } } -int main() { +int main(int argc, char *argv[]) { + + if (argc == 2) { + chdir(argv[1]); + } + Window window; window.Init();