From 32f0a2c762cb8cb0422d38ca67f540a15a1e1640 Mon Sep 17 00:00:00 2001 From: Andrew Bell Date: Sun, 28 Jul 2024 22:47:06 -0400 Subject: [PATCH] Start searching for default asset dir in executable path itself --- src/cinder/app/Platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cinder/app/Platform.cpp b/src/cinder/app/Platform.cpp index 5c1e29fc52..803d55224d 100644 --- a/src/cinder/app/Platform.cpp +++ b/src/cinder/app/Platform.cpp @@ -146,7 +146,7 @@ const vector& Platform::getAssetDirectories() const void Platform::findAndAddDefaultAssetPath() { - fs::path assetDir = findAncestorDir( getExecutablePath().parent_path(), "assets", ASSET_SEARCH_DEPTH ); + fs::path assetDir = findAncestorDir( getExecutablePath(), "assets", ASSET_SEARCH_DEPTH ); if( ! assetDir.empty() ) addAssetDirectory( assetDir ); }