Skip to content

Commit b393e58

Browse files
committed
fix: [mac] only check for .app to allow for app bundle to be renamed
1 parent 911019c commit b393e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/zapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static App app_id = App::undefined;
3434
bool is_in_osx_application_bundle()
3535
{
3636
#ifdef __APPLE__
37-
return std::filesystem::current_path().string().find("/ZQuest Classic.app/") != std::string::npos;
37+
return std::filesystem::current_path().string().find(".app/") != std::string::npos;
3838
#else
3939
return false;
4040
#endif

0 commit comments

Comments
 (0)