Commit 0c53675c authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: Fix update downloader

(update_ requires a dir argument with the path sep already appended)
parent ef0ae57f
...@@ -218,7 +218,8 @@ static void updateCallback( void * p_data, bool b_success ) ...@@ -218,7 +218,8 @@ static void updateCallback( void * p_data, bool b_success )
- (void)performDownload:(NSString *)path - (void)performDownload:(NSString *)path
{ {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
update_Download( p_u, [path UTF8String] ); NSString *local = [NSString stringWithFormat: @"%@/", path];
update_Download( p_u, [local UTF8String] );
[o_btn_DownloadNow setEnabled: NO]; [o_btn_DownloadNow setEnabled: NO];
[o_update_window orderOut: self]; [o_update_window orderOut: self];
update_WaitDownload( p_u ); update_WaitDownload( p_u );
......
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