summaryrefslogtreecommitdiffstats
path: root/base/mac_util.mm
diff options
context:
space:
mode:
Diffstat (limited to 'base/mac_util.mm')
-rw-r--r--base/mac_util.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/mac_util.mm b/base/mac_util.mm
index 2aa86f2..014342c 100644
--- a/base/mac_util.mm
+++ b/base/mac_util.mm
@@ -61,6 +61,11 @@ NSBundle* MainAppBundle() {
return [NSBundle mainBundle];
}
+FilePath MainAppBundlePath() {
+ NSBundle* bundle = MainAppBundle();
+ return FilePath([[bundle bundlePath] fileSystemRepresentation]);
+}
+
void SetOverrideAppBundle(NSBundle* bundle) {
if (bundle != g_override_app_bundle) {
[g_override_app_bundle release];