| Index: chrome/installer/mac/app/MainDelegate.m
|
| diff --git a/chrome/installer/mac/app/MainDelegate.m b/chrome/installer/mac/app/MainDelegate.m
|
| index 9662b5b8a69f769a4fc348c8d017b161573457d0..cbe05192dbed045030b739d3a3b22622894e22d0 100644
|
| --- a/chrome/installer/mac/app/MainDelegate.m
|
| +++ b/chrome/installer/mac/app/MainDelegate.m
|
| @@ -26,11 +26,16 @@
|
| }
|
|
|
| - (void)onDownloadSuccess {
|
| - // TODO: replace the line of code below with real code someday to unpack dmg
|
| - exit(0);
|
| + Unpacker* unpack = [[Unpacker alloc] init];
|
| + unpack.delegate = self;
|
| +
|
| + [unpack unpackDMG];
|
| }
|
|
|
| - (void)onUnpackSuccess {
|
| + // TODO: replace with real code somehow
|
| + NSLog(@"finished unpacking");
|
| + exit(0);
|
| }
|
|
|
| @end
|
|
|