Kaydet (Commit) 13c3ab57 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use actual executable path

Change-Id: I75ffc83be6af34b09b4a98a5890b3585b4a76bde
üst 8204fadf
...@@ -155,7 +155,7 @@ lo_initialize(void) ...@@ -155,7 +155,7 @@ lo_initialize(void)
const int argc = sizeof(argv)/sizeof(*argv); const int argc = sizeof(argv)/sizeof(*argv);
argv[0] = [[[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent: @"LibreOffice"] UTF8String]; argv[0] = [[[NSBundle mainBundle] executablePath] UTF8String];
NSString *app_root_escaped = [[[NSBundle mainBundle] bundlePath] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]; NSString *app_root_escaped = [[[NSBundle mainBundle] bundlePath] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment