Updating an application now longer shows the installation application n the Dock (LSUIElement) , Removed TransformProcessType call as it will force the installer application to show in the Dock.

This commit is contained in:
Patrick Stein committed 2009-12-11 13:28:10 +01:00
1 parent 5f694f82af
commit d0425a140a
2 files changed
+6 -2

No files matched your search

+4
View File
@@ -26,5 +26,9 @@
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>LSBackgroundOnly</key>
<string>1</string>
<key>LSUIElement</key>
<string>1</string>
</dict>
</plist>
+2 -2
View File
@@ -138,8 +138,8 @@ int main (int argc, const char * argv[])
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
ProcessSerialNumber psn = { 0, kCurrentProcess };
TransformProcessType( &psn, kProcessTransformToForegroundApplication );
//ProcessSerialNumber psn = { 0, kCurrentProcess };
//TransformProcessType( &psn, kProcessTransformToForegroundApplication );
[[NSApplication sharedApplication] activateIgnoringOtherApps: YES];
#if 0 // Cmdline tool