diff --git a/SLImageUpload/Properties/AssemblyInfo.cs b/Programs/SLImageUpload/Properties/AssemblyInfo.cs similarity index 100% rename from SLImageUpload/Properties/AssemblyInfo.cs rename to Programs/SLImageUpload/Properties/AssemblyInfo.cs diff --git a/SLImageUpload/Properties/Resources.Designer.cs b/Programs/SLImageUpload/Properties/Resources.Designer.cs similarity index 100% rename from SLImageUpload/Properties/Resources.Designer.cs rename to Programs/SLImageUpload/Properties/Resources.Designer.cs diff --git a/SLImageUpload/Properties/Resources.resx b/Programs/SLImageUpload/Properties/Resources.resx similarity index 100% rename from SLImageUpload/Properties/Resources.resx rename to Programs/SLImageUpload/Properties/Resources.resx diff --git a/SLImageUpload/Properties/Settings.Designer.cs b/Programs/SLImageUpload/Properties/Settings.Designer.cs similarity index 100% rename from SLImageUpload/Properties/Settings.Designer.cs rename to Programs/SLImageUpload/Properties/Settings.Designer.cs diff --git a/SLImageUpload/Properties/Settings.settings b/Programs/SLImageUpload/Properties/Settings.settings similarity index 100% rename from SLImageUpload/Properties/Settings.settings rename to Programs/SLImageUpload/Properties/Settings.settings diff --git a/SLImageUpload/SLImageUpload.build b/Programs/SLImageUpload/SLImageUpload.build similarity index 100% rename from SLImageUpload/SLImageUpload.build rename to Programs/SLImageUpload/SLImageUpload.build diff --git a/SLImageUpload/SLImageUpload.cs b/Programs/SLImageUpload/SLImageUpload.cs similarity index 100% rename from SLImageUpload/SLImageUpload.cs rename to Programs/SLImageUpload/SLImageUpload.cs diff --git a/SLImageUpload/SLImageUpload.csproj b/Programs/SLImageUpload/SLImageUpload.csproj similarity index 100% rename from SLImageUpload/SLImageUpload.csproj rename to Programs/SLImageUpload/SLImageUpload.csproj diff --git a/SLImageUpload/frmSLImageUpload.Designer.cs b/Programs/SLImageUpload/frmSLImageUpload.Designer.cs similarity index 100% rename from SLImageUpload/frmSLImageUpload.Designer.cs rename to Programs/SLImageUpload/frmSLImageUpload.Designer.cs diff --git a/SLImageUpload/frmSLImageUpload.cs b/Programs/SLImageUpload/frmSLImageUpload.cs similarity index 100% rename from SLImageUpload/frmSLImageUpload.cs rename to Programs/SLImageUpload/frmSLImageUpload.cs diff --git a/SLImageUpload/frmSLImageUpload.resx b/Programs/SLImageUpload/frmSLImageUpload.resx similarity index 100% rename from SLImageUpload/frmSLImageUpload.resx rename to Programs/SLImageUpload/frmSLImageUpload.resx diff --git a/SLProxy/Analyst.cs b/Programs/SLProxy/Analyst.cs similarity index 100% rename from SLProxy/Analyst.cs rename to Programs/SLProxy/Analyst.cs diff --git a/SLProxy/ChatConsole.cs b/Programs/SLProxy/ChatConsole.cs similarity index 100% rename from SLProxy/ChatConsole.cs rename to Programs/SLProxy/ChatConsole.cs diff --git a/SLProxy/ChatConsole.csproj b/Programs/SLProxy/ChatConsole.csproj similarity index 100% rename from SLProxy/ChatConsole.csproj rename to Programs/SLProxy/ChatConsole.csproj diff --git a/SLProxy/ClientAO/ClientAO/ClientAO.cs b/Programs/SLProxy/ClientAO/ClientAO/ClientAO.cs similarity index 100% rename from SLProxy/ClientAO/ClientAO/ClientAO.cs rename to Programs/SLProxy/ClientAO/ClientAO/ClientAO.cs diff --git a/SLProxy/ClientAO/ClientAO/ClientAO.csproj b/Programs/SLProxy/ClientAO/ClientAO/ClientAO.csproj similarity index 100% rename from SLProxy/ClientAO/ClientAO/ClientAO.csproj rename to Programs/SLProxy/ClientAO/ClientAO/ClientAO.csproj diff --git a/SLProxy/ClientAO/README.txt b/Programs/SLProxy/ClientAO/README.txt similarity index 100% rename from SLProxy/ClientAO/README.txt rename to Programs/SLProxy/ClientAO/README.txt diff --git a/SLProxy/ClientAO/configuration sample.txt b/Programs/SLProxy/ClientAO/configuration sample.txt similarity index 100% rename from SLProxy/ClientAO/configuration sample.txt rename to Programs/SLProxy/ClientAO/configuration sample.txt diff --git a/SLProxy/README.txt b/Programs/SLProxy/README.txt similarity index 100% rename from SLProxy/README.txt rename to Programs/SLProxy/README.txt diff --git a/SLProxy/SLProxy.build b/Programs/SLProxy/SLProxy.build similarity index 100% rename from SLProxy/SLProxy.build rename to Programs/SLProxy/SLProxy.build diff --git a/SLProxy/SLProxy.cs b/Programs/SLProxy/SLProxy.cs similarity index 100% rename from SLProxy/SLProxy.cs rename to Programs/SLProxy/SLProxy.cs diff --git a/SLProxy/SLProxy.csproj b/Programs/SLProxy/SLProxy.csproj similarity index 100% rename from SLProxy/SLProxy.csproj rename to Programs/SLProxy/SLProxy.csproj diff --git a/SLProxy/SLProxyLoader.cs b/Programs/SLProxy/SLProxyLoader.cs similarity index 100% rename from SLProxy/SLProxyLoader.cs rename to Programs/SLProxy/SLProxyLoader.cs diff --git a/SLProxy/SLProxyMain.cs b/Programs/SLProxy/SLProxyMain.cs similarity index 100% rename from SLProxy/SLProxyMain.cs rename to Programs/SLProxy/SLProxyMain.cs diff --git a/SLProxy/XmlRpcCS/Logger.cs b/Programs/SLProxy/XmlRpcCS/Logger.cs similarity index 100% rename from SLProxy/XmlRpcCS/Logger.cs rename to Programs/SLProxy/XmlRpcCS/Logger.cs diff --git a/SLProxy/XmlRpcCS/SimpleHttpRequest.cs b/Programs/SLProxy/XmlRpcCS/SimpleHttpRequest.cs similarity index 100% rename from SLProxy/XmlRpcCS/SimpleHttpRequest.cs rename to Programs/SLProxy/XmlRpcCS/SimpleHttpRequest.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcBoxcarRequest.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcBoxcarRequest.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcBoxcarRequest.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcBoxcarRequest.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcClientProxy.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcClientProxy.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcClientProxy.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcClientProxy.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcDeserializer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcDeserializer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcDeserializer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcDeserializer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcErrorCodes.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcErrorCodes.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcErrorCodes.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcErrorCodes.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcException.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcException.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcException.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcException.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcExposedAttribute.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcExposedAttribute.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcExposedAttribute.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcExposedAttribute.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcRequest.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcRequest.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcRequest.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcRequest.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcRequestDeserializer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcRequestDeserializer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcRequestDeserializer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcRequestDeserializer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcRequestSerializer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcRequestSerializer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcRequestSerializer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcRequestSerializer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcResponder.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcResponder.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcResponder.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcResponder.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcResponse.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcResponse.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcResponse.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcResponse.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcResponseDeserializer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcResponseDeserializer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcResponseDeserializer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcResponseDeserializer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcResponseSerializer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcResponseSerializer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcResponseSerializer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcResponseSerializer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcSerializer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcSerializer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcSerializer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcSerializer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcServer.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcServer.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcServer.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcServer.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcSystemObject.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcSystemObject.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcSystemObject.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcSystemObject.cs diff --git a/SLProxy/XmlRpcCS/XmlRpcXmlTokens.cs b/Programs/SLProxy/XmlRpcCS/XmlRpcXmlTokens.cs similarity index 100% rename from SLProxy/XmlRpcCS/XmlRpcXmlTokens.cs rename to Programs/SLProxy/XmlRpcCS/XmlRpcXmlTokens.cs diff --git a/SecondGlance/Properties/AssemblyInfo.cs b/Programs/SecondGlance/Properties/AssemblyInfo.cs similarity index 100% rename from SecondGlance/Properties/AssemblyInfo.cs rename to Programs/SecondGlance/Properties/AssemblyInfo.cs diff --git a/SecondGlance/Properties/Resources.Designer.cs b/Programs/SecondGlance/Properties/Resources.Designer.cs similarity index 100% rename from SecondGlance/Properties/Resources.Designer.cs rename to Programs/SecondGlance/Properties/Resources.Designer.cs diff --git a/SecondGlance/Properties/Resources.resx b/Programs/SecondGlance/Properties/Resources.resx similarity index 100% rename from SecondGlance/Properties/Resources.resx rename to Programs/SecondGlance/Properties/Resources.resx diff --git a/SecondGlance/Properties/Settings.Designer.cs b/Programs/SecondGlance/Properties/Settings.Designer.cs similarity index 100% rename from SecondGlance/Properties/Settings.Designer.cs rename to Programs/SecondGlance/Properties/Settings.Designer.cs diff --git a/SecondGlance/Properties/Settings.settings b/Programs/SecondGlance/Properties/Settings.settings similarity index 100% rename from SecondGlance/Properties/Settings.settings rename to Programs/SecondGlance/Properties/Settings.settings diff --git a/SecondGlance/SecondGlance.cs b/Programs/SecondGlance/SecondGlance.cs similarity index 100% rename from SecondGlance/SecondGlance.cs rename to Programs/SecondGlance/SecondGlance.cs diff --git a/SecondGlance/SecondGlance.csproj b/Programs/SecondGlance/SecondGlance.csproj similarity index 100% rename from SecondGlance/SecondGlance.csproj rename to Programs/SecondGlance/SecondGlance.csproj diff --git a/SecondGlance/frmSecondGlance.Designer.cs b/Programs/SecondGlance/frmSecondGlance.Designer.cs similarity index 100% rename from SecondGlance/frmSecondGlance.Designer.cs rename to Programs/SecondGlance/frmSecondGlance.Designer.cs diff --git a/SecondGlance/frmSecondGlance.cs b/Programs/SecondGlance/frmSecondGlance.cs similarity index 100% rename from SecondGlance/frmSecondGlance.cs rename to Programs/SecondGlance/frmSecondGlance.cs diff --git a/SecondGlance/frmSecondGlance.resx b/Programs/SecondGlance/frmSecondGlance.resx similarity index 100% rename from SecondGlance/frmSecondGlance.resx rename to Programs/SecondGlance/frmSecondGlance.resx diff --git a/VoiceTest/VoiceTest.build b/Programs/VoiceTest/VoiceTest.build similarity index 100% rename from VoiceTest/VoiceTest.build rename to Programs/VoiceTest/VoiceTest.build diff --git a/VoiceTest/VoiceTest.cs b/Programs/VoiceTest/VoiceTest.cs similarity index 100% rename from VoiceTest/VoiceTest.cs rename to Programs/VoiceTest/VoiceTest.cs diff --git a/VoiceTest/VoiceTest.csproj b/Programs/VoiceTest/VoiceTest.csproj similarity index 100% rename from VoiceTest/VoiceTest.csproj rename to Programs/VoiceTest/VoiceTest.csproj diff --git a/importprimscript/importprimscript.build b/Programs/importprimscript/importprimscript.build similarity index 100% rename from importprimscript/importprimscript.build rename to Programs/importprimscript/importprimscript.build diff --git a/importprimscript/importprimscript.cs b/Programs/importprimscript/importprimscript.cs similarity index 100% rename from importprimscript/importprimscript.cs rename to Programs/importprimscript/importprimscript.cs diff --git a/importprimscript/importprimscript.csproj b/Programs/importprimscript/importprimscript.csproj similarity index 100% rename from importprimscript/importprimscript.csproj rename to Programs/importprimscript/importprimscript.csproj diff --git a/SLProxy/MacProxy/Launcher/Controller.h b/SLProxy/MacProxy/Launcher/Controller.h deleted file mode 100644 index 2e931d5e..00000000 --- a/SLProxy/MacProxy/Launcher/Controller.h +++ /dev/null @@ -1,16 +0,0 @@ -/* Controller */ - -#import - -#import "SLProxy.h" - -NSTask *killtask; - -@interface Controller : NSObject -{ -} - -+ (void)terminateOnFailure:(NSTask *)task; -+ (void)failBecause:(NSString *)reason; - -@end diff --git a/SLProxy/MacProxy/Launcher/Controller.m b/SLProxy/MacProxy/Launcher/Controller.m deleted file mode 100644 index fff271b4..00000000 --- a/SLProxy/MacProxy/Launcher/Controller.m +++ /dev/null @@ -1,52 +0,0 @@ -#import "Controller.h" - -@implementation Controller - -+ (void)terminateOnFailure:(NSTask *)task { - killtask = task; -} - -+ (void)failBecause:(NSString *)reason { - NSRunCriticalAlertPanel(@"Failed to start Second Life.", reason, @"Quit", nil, nil); - [NSApp terminate:nil]; -} - -- (void)runSecondLifeWithLoginURL:(NSURL *)URL { - /* Locate the user's installed copy of Second Life. */ - CFURLRef SLAppURL; - if (LSFindApplicationForInfo(kLSUnknownCreator, NULL, (CFStringRef)@"Second Life.app", NULL, &SLAppURL)) { - [Controller failBecause:@"Second Life does not appear to be installed on your system."]; - } - - /* Launch Second Life and wait until it terminates. */ - NSTask *task = [[NSTask alloc] init]; - [task setLaunchPath:[[(NSURL *)SLAppURL path] stringByAppendingString:@"/Contents/MacOS/Second Life"]]; - [task setArguments:[NSArray arrayWithObjects:@"-loginuri", [URL absoluteString], nil]]; - [task launch]; - [task waitUntilExit]; - [task release]; -} - -- (id)init { - [super init]; - killtask = nil; - return self; -} - -- (void)awakeFromNib { - [NSApp setDelegate:self]; -} - -- (void)applicationDidFinishLaunching:(NSNotification *)notification { - /* Start the proxy, run Second Life, stop the proxy, and terminate. */ - SLProxy *proxy = [[SLProxy alloc] init]; - [self runSecondLifeWithLoginURL:[proxy loginURL]]; - [proxy release]; - [NSApp terminate:self]; -} - -- (void)applicationWillTerminate:(NSNotification *)notification { - [killtask terminate]; -} - -@end diff --git a/SLProxy/MacProxy/Launcher/English.lproj/InfoPlist.strings b/SLProxy/MacProxy/Launcher/English.lproj/InfoPlist.strings deleted file mode 100644 index 997688e2..00000000 Binary files a/SLProxy/MacProxy/Launcher/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/classes.nib b/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/classes.nib deleted file mode 100644 index aa4358a7..00000000 --- a/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/classes.nib +++ /dev/null @@ -1,8 +0,0 @@ -{ - IBClasses = ( - {CLASS = Controller; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, - {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, - {CLASS = SLProxy; LANGUAGE = ObjC; SUPERCLASS = NSObject; } - ); - IBVersion = 1; -} \ No newline at end of file diff --git a/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/info.nib b/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/info.nib deleted file mode 100644 index e113278b..00000000 --- a/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/info.nib +++ /dev/null @@ -1,17 +0,0 @@ - - - - - IBDocumentLocation - 110 86 356 240 0 0 1440 878 - IBEditorPositions - - 29 - 109 299 338 44 0 0 1440 878 - - IBFramework Version - 446.1 - IBSystem Version - 8P2137 - - diff --git a/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/keyedobjects.nib b/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/keyedobjects.nib deleted file mode 100644 index 430b4de7..00000000 Binary files a/SLProxy/MacProxy/Launcher/English.lproj/MainMenu.nib/keyedobjects.nib and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/Info.plist b/SLProxy/MacProxy/Launcher/Info.plist deleted file mode 100644 index 2f341811..00000000 --- a/SLProxy/MacProxy/Launcher/Info.plist +++ /dev/null @@ -1,36 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - Launcher - CFBundleIconFile - libsl.icns - CFBundleIdentifier - org.libsecondlife.macproxy.##ID## - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ##NAME## - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSUIElement - - MonoArguments - - ##EXE## - --proxy-verbose - --proxy-login-port=0 - - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/SLProxy/MacProxy/Launcher/Launcher.xcodeproj/project.pbxproj b/SLProxy/MacProxy/Launcher/Launcher.xcodeproj/project.pbxproj deleted file mode 100644 index 861fb7f4..00000000 --- a/SLProxy/MacProxy/Launcher/Launcher.xcodeproj/project.pbxproj +++ /dev/null @@ -1,297 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 42; - objects = { - -/* Begin PBXBuildFile section */ - 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; }; - 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; - 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; - D92540DD0BB9F4B400637A9C /* libsl.icns in Resources */ = {isa = PBXBuildFile; fileRef = D92540DC0BB9F4B400637A9C /* libsl.icns */; }; - D925501C0BB9FC1B00637A9C /* Assemblies in Resources */ = {isa = PBXBuildFile; fileRef = D925501A0BB9FC1B00637A9C /* Assemblies */; }; - D971F9C70BBA096500103A6D /* Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = D971F9C60BBA096500103A6D /* Controller.m */; }; - D971FB330BBA213000103A6D /* SLProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = D971FB320BBA213000103A6D /* SLProxy.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; - 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 29B97319FDCFA39411CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/MainMenu.nib; sourceTree = ""; }; - 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 32CA4F630368D1EE00C91783 /* Launcher_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Launcher_Prefix.pch; sourceTree = ""; }; - 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; - 8D1107320486CEB800E47090 /* Launcher.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Launcher.app; sourceTree = BUILT_PRODUCTS_DIR; }; - D92540DC0BB9F4B400637A9C /* libsl.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = libsl.icns; sourceTree = ""; }; - D925501A0BB9FC1B00637A9C /* Assemblies */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Assemblies; sourceTree = ""; }; - D971F9C50BBA096500103A6D /* Controller.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Controller.h; sourceTree = ""; }; - D971F9C60BBA096500103A6D /* Controller.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = Controller.m; sourceTree = ""; }; - D971FB310BBA213000103A6D /* SLProxy.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SLProxy.h; sourceTree = ""; }; - D971FB320BBA213000103A6D /* SLProxy.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = SLProxy.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 8D11072E0486CEB800E47090 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - D971F9C50BBA096500103A6D /* Controller.h */, - D971F9C60BBA096500103A6D /* Controller.m */, - D971FB310BBA213000103A6D /* SLProxy.h */, - D971FB320BBA213000103A6D /* SLProxy.m */, - ); - name = Classes; - sourceTree = ""; - }; - 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { - isa = PBXGroup; - children = ( - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, - ); - name = "Linked Frameworks"; - sourceTree = ""; - }; - 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 29B97324FDCFA39411CA2CEA /* AppKit.framework */, - 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */, - 29B97325FDCFA39411CA2CEA /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 8D1107320486CEB800E47090 /* Launcher.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* Launcher */ = { - isa = PBXGroup; - children = ( - 080E96DDFE201D6D7F000001 /* Classes */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = Launcher; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 32CA4F630368D1EE00C91783 /* Launcher_Prefix.pch */, - 29B97316FDCFA39411CA2CEA /* main.m */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 8D1107310486CEB800E47090 /* Info.plist */, - 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, - 29B97318FDCFA39411CA2CEA /* MainMenu.nib */, - D92540DC0BB9F4B400637A9C /* libsl.icns */, - D925501A0BB9FC1B00637A9C /* Assemblies */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, - 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 8D1107260486CEB800E47090 /* Launcher */ = { - isa = PBXNativeTarget; - buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Launcher" */; - buildPhases = ( - 8D1107290486CEB800E47090 /* Resources */, - 8D11072C0486CEB800E47090 /* Sources */, - 8D11072E0486CEB800E47090 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Launcher; - productInstallPath = "$(HOME)/Applications"; - productName = Launcher; - productReference = 8D1107320486CEB800E47090 /* Launcher.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Launcher" */; - hasScannedForEncodings = 1; - mainGroup = 29B97314FDCFA39411CA2CEA /* Launcher */; - projectDirPath = ""; - targets = ( - 8D1107260486CEB800E47090 /* Launcher */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 8D1107290486CEB800E47090 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */, - 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, - D92540DD0BB9F4B400637A9C /* libsl.icns in Resources */, - D925501C0BB9FC1B00637A9C /* Assemblies in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 8D11072C0486CEB800E47090 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072D0486CEB800E47090 /* main.m in Sources */, - D971F9C70BBA096500103A6D /* Controller.m in Sources */, - D971FB330BBA213000103A6D /* SLProxy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 089C165DFE840E0CC02AAC07 /* English */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; - 29B97318FDCFA39411CA2CEA /* MainMenu.nib */ = { - isa = PBXVariantGroup; - children = ( - 29B97319FDCFA39411CA2CEA /* English */, - ); - name = MainMenu.nib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - C01FCF4B08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - COPY_PHASE_STRIP = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)", - ); - FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)\""; - GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_FIX_AND_CONTINUE = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(HOME)/Applications"; - PRODUCT_NAME = Launcher; - WRAPPER_EXTENSION = app; - ZERO_LINK = YES; - }; - name = Debug; - }; - C01FCF4C08A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ppc; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(FRAMEWORK_SEARCH_PATHS_QUOTED_1)", - ); - FRAMEWORK_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)\""; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_MODEL_TUNING = G5; - INFOPLIST_FILE = Info.plist; - INSTALL_PATH = "$(HOME)/Applications"; - PRODUCT_NAME = Launcher; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = ppc; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - PREBINDING = NO; - SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Launcher" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4B08A954540054247B /* Debug */, - C01FCF4C08A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Launcher" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/SLProxy/MacProxy/Launcher/Launcher_Prefix.pch b/SLProxy/MacProxy/Launcher/Launcher_Prefix.pch deleted file mode 100644 index 7504e2dc..00000000 --- a/SLProxy/MacProxy/Launcher/Launcher_Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// -// Prefix header for all source files of the 'Launcher' target in the 'Launcher' project -// - -#ifdef __OBJC__ - #import -#endif diff --git a/SLProxy/MacProxy/Launcher/SLProxy.h b/SLProxy/MacProxy/Launcher/SLProxy.h deleted file mode 100644 index 7865a37c..00000000 --- a/SLProxy/MacProxy/Launcher/SLProxy.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SLProxy */ - -#import - -#import "Controller.h" - -@interface SLProxy : NSObject -{ - NSTask *task; - NSURL *loginURL; -} - -- (SLProxy *)init; -- (void)dealloc; -- (NSURL *)loginURL; - -@end diff --git a/SLProxy/MacProxy/Launcher/SLProxy.m b/SLProxy/MacProxy/Launcher/SLProxy.m deleted file mode 100644 index 14d5afd0..00000000 --- a/SLProxy/MacProxy/Launcher/SLProxy.m +++ /dev/null @@ -1,60 +0,0 @@ -#import "SLProxy.h" - -#include - -@implementation SLProxy - -- (SLProxy *)init { - [super init]; - - NSPipe *pipe = [NSPipe pipe]; - - /* Launch the proxy. */ - task = [[NSTask alloc] init]; - [task setLaunchPath:@"/Library/Frameworks/Mono.framework/Commands/mono"]; - [task setCurrentDirectoryPath:[[[NSBundle mainBundle] resourcePath] stringByAppendingString:@"/Assemblies"]]; - [task setArguments:[[[NSBundle mainBundle] infoDictionary] valueForKey:@"MonoArguments"]]; - [task setStandardOutput:[pipe fileHandleForWriting]]; - NS_DURING - [task launch]; - NS_HANDLER - [Controller failBecause:@"Mono does not appear to be installed on your system."]; - NS_ENDHANDLER - [Controller terminateOnFailure:task]; - - /* Read the proxy's output to determine the login URL to give SL. */ - int reader = [[pipe fileHandleForReading] fileDescriptor]; - char c; - NSString *line = [NSString string]; - for (;;) { - if (read(reader, &c, 1) != 1) { - [Controller failBecause:@"Unable to synchronize with proxy."]; - } else if (c == '\n') { - break; - } else { - line = [line stringByAppendingFormat:@"%c", c]; - } - } - [[pipe fileHandleForReading] closeFile]; // mono's ok with this; keep it from blocking on WriteLine - int port; - if (sscanf([line UTF8String], "proxy ready at http://127.0.0.1:%d/", &port) != 1) { - [Controller failBecause:@"Unable to synchronize with proxy."]; - } - loginURL = [[NSURL alloc] initWithString:[NSString stringWithFormat:@"http://127.0.0.1:%d/", port]]; - - return self; -} - -- (void)dealloc { - /* Stop the proxy and clean up. */ - [task terminate]; - [task release]; - [loginURL release]; - [super dealloc]; -} - -- (NSURL *)loginURL { - return loginURL; -} - -@end diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Info.plist b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Info.plist deleted file mode 100644 index 2f341811..00000000 --- a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Info.plist +++ /dev/null @@ -1,36 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - Launcher - CFBundleIconFile - libsl.icns - CFBundleIdentifier - org.libsecondlife.macproxy.##ID## - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ##NAME## - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSUIElement - - MonoArguments - - ##EXE## - --proxy-verbose - --proxy-login-port=0 - - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/MacOS/Launcher b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/MacOS/Launcher deleted file mode 100755 index 1614cc4f..00000000 Binary files a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/MacOS/Launcher and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/PkgInfo b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/PkgInfo deleted file mode 100644 index bd04210f..00000000 --- a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/PkgInfo +++ /dev/null @@ -1 +0,0 @@ -APPL???? \ No newline at end of file diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/InfoPlist.strings b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/InfoPlist.strings deleted file mode 100644 index 997688e2..00000000 Binary files a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib deleted file mode 100644 index aa4358a7..00000000 --- a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib +++ /dev/null @@ -1,8 +0,0 @@ -{ - IBClasses = ( - {CLASS = Controller; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, - {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, - {CLASS = SLProxy; LANGUAGE = ObjC; SUPERCLASS = NSObject; } - ); - IBVersion = 1; -} \ No newline at end of file diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib deleted file mode 100644 index e113278b..00000000 --- a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib +++ /dev/null @@ -1,17 +0,0 @@ - - - - - IBDocumentLocation - 110 86 356 240 0 0 1440 878 - IBEditorPositions - - 29 - 109 299 338 44 0 0 1440 878 - - IBFramework Version - 446.1 - IBSystem Version - 8P2137 - - diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib deleted file mode 100644 index 430b4de7..00000000 Binary files a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/libsl.icns b/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/libsl.icns deleted file mode 100644 index c35d47cc..00000000 Binary files a/SLProxy/MacProxy/Launcher/build/Release/Launcher.app/Contents/Resources/libsl.icns and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/libsl.icns b/SLProxy/MacProxy/Launcher/libsl.icns deleted file mode 100644 index c35d47cc..00000000 Binary files a/SLProxy/MacProxy/Launcher/libsl.icns and /dev/null differ diff --git a/SLProxy/MacProxy/Launcher/main.m b/SLProxy/MacProxy/Launcher/main.m deleted file mode 100644 index 6d6f483e..00000000 --- a/SLProxy/MacProxy/Launcher/main.m +++ /dev/null @@ -1,14 +0,0 @@ -// -// main.m -// Launcher -// -// Created by Austin Jennings on 07/03/27. -// Copyright __MyCompanyName__ 2007. All rights reserved. -// - -#import - -int main(int argc, char *argv[]) -{ - return NSApplicationMain(argc, (const char **) argv); -} diff --git a/SLProxy/MacProxy/README.txt b/SLProxy/MacProxy/README.txt deleted file mode 100644 index 02848eaa..00000000 --- a/SLProxy/MacProxy/README.txt +++ /dev/null @@ -1,32 +0,0 @@ -MacProxy is a tool that packages an SLProxy application as a -standalone Mac OS X application. When double-clicked, the application -will start the proxy in the background and open Second Life, -configured to connect through the proxy. The proxy runs entirely in -the background, so its output will not be visible to the user. You do -not need to have a Mac to run MacProxy; any typical Unix-like -environment with Perl installed should suffice. - -To use MacProxy, navigate to the MacProxy directory and type - - ./build.pl "Application Name" path/to/executable.exe \ - path/to/libraries.dll ... - -For example, to create a standalone ChatConsole for the Mac: - - ./build.pl "Chat Console" ../../bin/ChatConsole.exe \ - ../../bin/SLProxy.dll ../../bin/libsecondlife.dll - -(Of course, this is entirely pointless, since ChatConsole provides no -functionality unless run from a terminal.) - -CAVEATS - -The generated application will not work unless the user has the Mono -framework installed. This should be distributed separately, since -it's huge. The installer is available from -http://www.mono-project.com/Downloads. - -MacProxy assumes that your proxy application accepts the standard -suite of --proxy arguments via the command line (see SLProxy's -documentation) and that it doesn't output anything of its own to -stdout before the proxy is active. diff --git a/SLProxy/MacProxy/build.pl b/SLProxy/MacProxy/build.pl deleted file mode 100755 index ac666fe4..00000000 --- a/SLProxy/MacProxy/build.pl +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -w - -die "Usage: $0 \"Application Name\" path/to/executable.exe path/to/libraries.dll ...\n" unless @ARGV >= 2; - -die "Please run MacProxy from within its own directory.\n" unless -d 'Launcher'; - -my ($appname, $exe, @libs) = @ARGV; - -print "Creating application bundle...\n"; - -die "An application with that name already exists; aborting.\n" if -e "$appname.app"; -system('cp', '-r', 'Launcher/build/Release/Launcher.app', "$appname.app") -and die "Failed; aborting.\n"; - -print "Embedding assemblies...\n"; - -system('cp', $exe, @libs, "$appname.app/Contents/Resources/Assemblies/") -and die "Failed; aborting.\n"; - -print "Writing metadata...\n"; - -open(my $ii, '<', 'Launcher/Info.plist') -or die "Failed to open Launcher/Info.plist; aborting.\n"; -open(my $io, '>', "$appname.app/Contents/Info.plist") -or die "Failed to open $appname.app/Contents/Info.plist; aborting.\n"; - -my $id = $appname; -$id =~ s/[^a-z]//gi; -$id = 'x' unless length $id; -$exe =~ s!.*/!!; -while (<$ii>) { - s/##NAME##/$appname/; - s/##ID##/$id/; - s/##EXE##/$exe/; - print $io $_; -} - -close $ii; -close $io; - -print "Packaging bundle...\n"; - -system('tar', 'cjf', "$appname.tar.bz2", "$appname.app") -and die "Failed to create archive; aborting.\n"; -system('rm', '-rf', "$appname.app") -and die "Failed to remove application bundle; aborting.\n"; - -system('ls', '-l', "$appname.tar.bz2") -and print "Done.\n";