From 100e57987140dbc89b7a8ebf13e554e0e627eccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 13 Jun 2006 11:36:53 +0000 Subject: [PATCH] * Fixed missing resources for the mimeset build. * Fixed wrong resources in unzip (missing app flags made it a normal app). * There is no need to run the application in unzip's main(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17815 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/Jamfile | 4 ++-- src/bin/unzip/beosmain.cpp | 7 +------ src/bin/unzip/unzip.rdef | 8 +++++--- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 5396bb584c..1a5e207c1f 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -56,6 +56,8 @@ StdBinCommands : libtermcap.a ; +AddResources mimeset : mimeset.rdef ; + # standard commands that need libbe.so StdBinCommands alert.cpp @@ -85,8 +87,6 @@ StdBinCommands # yes.cpp : be ; -AddResources mimeset : mimeset.rdef ; - # standard commands that need libbe.so, libstdc++.so StdBinCommands copyattr.cpp diff --git a/src/bin/unzip/beosmain.cpp b/src/bin/unzip/beosmain.cpp index 290c612d1c..ed5fe2a1df 100644 --- a/src/bin/unzip/beosmain.cpp +++ b/src/bin/unzip/beosmain.cpp @@ -35,10 +35,5 @@ int main( int argc, char **argv ) { BApplication app( unzip_signature ); - int retval = main_stub( argc, argv ); - - app.PostMessage( B_QUIT_REQUESTED ); - app.Run(); - - return retval; + return main_stub( argc, argv ); } diff --git a/src/bin/unzip/unzip.rdef b/src/bin/unzip/unzip.rdef index b81c4aa5dd..1fda5e5784 100644 --- a/src/bin/unzip/unzip.rdef +++ b/src/bin/unzip/unzip.rdef @@ -1,5 +1,8 @@ -resource app_version -{ + +resource app_signature "application/x-vnd.Info-ZIP.UnZip"; +resource app_flags B_MULTIPLE_LAUNCH | B_BACKGROUND_APP; + +resource app_version { major = 5, middle = 5, minor = 0, @@ -8,4 +11,3 @@ resource app_version short_info = "5.50", long_info = "5.50 ©2002 Info-ZIP" }; -