[Slim-Checkins] r33679 - /7.7/branches/7.7.0-OSX-Installer/buildme.pl

[email protected]
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: mherger
Date: Wed Nov  9 22:28:04 2011
New Revision: 33679

URL: http://svn.slimdevices.com/slim?rev=33679&view=rev
Log:
Bug: 17741
Description: port OSX installer changes to 7.7.0x branch

Modified:
    7.7/branches/7.7.0-OSX-Installer/buildme.pl

Modified: 7.7/branches/7.7.0-OSX-Installer/buildme.pl
URL: http://svn.slimdevices.com/slim/7.7/branches/7.7.0-OSX-Installer/buildme.pl?rev=33679&r1=33678&r2=33679&view=diff
==============================================================================
--- 7.7/branches/7.7.0-OSX-Installer/buildme.pl (original)
+++ 7.7/branches/7.7.0-OSX-Installer/buildme.pl Wed Nov  9 22:28:04 2011
@@ -691,7 +691,6 @@
 	
 		# .svn directories have already been removed.
 		system("mv \"$buildDir/server\" \"$contentsDir/\" ");
-		system("mv \"$buildDir/platforms/osx/10.3\" \"$contentsDir/\" ");
 	
 		print "INFO: Copying MacOSX Launcher App...\n";
 		system("ditto \"$xcodeBuildDir/Launcher.app\" \"$contentsDir/server/Launcher.app\"");
@@ -715,7 +714,10 @@
 
 		print "INFO: Copying over MacOSX Files...\n";
 		system("ditto -rsrc \"$buildDir/$diskImageName\" \"$scDiskImageMountPoint\" ");
-		system("mv \"$scDiskImageMountPoint/Squeezebox Server Installer.app\" \"$scDiskImageMountPoint/Logitech Media Server Installer.app\" ");
+		# backward compatibility: leave "Squeezebox Server Installer" in place, but hide it, add user visible link called "Logitech Media Server Installer"
+		system("cd \"$scDiskImageMountPoint\" && ln -s \"Squeezebox Server Installer.app\" \"Logitech Media Server Installer.app\" && setfile -a V \"Squeezebox Server Installer.app\"");
+		# moving forward we're going to launch install.app instead
+		system("cd \"$scDiskImageMountPoint\" && ln -s \"Squeezebox Server Installer.app\" \".install.app\"");
 	
 		print "INFO: Making auto open\n";
 		system("$buildDir/openUp \"$scDiskImageMountPoint\" ");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.