This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 6 Vote(s) - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automated and official SVN builds
#6
(06-08-2010, 10:29 PM)Orphis Wrote: I meant doing a .app in a DMG file with an easy "move to app" thing. I don't know how it works yet but I'll soon figure it out.

Ah, this is probably not as easy to do with an auto-builder bot. To create a DMG go to...

Applications > Utilities > Disk Utility

Click on the "New Image" button at the top, and it'll ask you what to save it as. You can then "Save as" with whatever.dmg, then make sure you name the disk image properly. You'll want to set the size to a custom amount based on the size of the .app, just round up to whatever the next highest MB is and it'll be fine. I also recommend that you use the case-sensitive journaled format - but to each his own. The rest of the options can be left untouched. Make/save the image.

Now mount the DMG, and open up the disk image. It is customary to make a (hidden) directory named ".background" in the root of the image (on Mac, anything with a "." character in front is treated as "hidden"). Put the background picture there. Now from the View menu of Finder, choose "Show View Options". MAKE SURE that you click the "This window only" option in here. Then select it as a background in the "Show View Options". Using the rest of the "Show View Options" you can customize the looks of the icons and what not.

You can customize the icons inside a DMG (and on the DMG itself) by right clicking on it (or command clicking on it) and selecting "Get Info". At the top left will be a small area to drag and drop .icns files into for the icon. You may also be able to command+C and command+V the icon from the "Get Info" of a different one, but I haven't tried it.

As for making the little shortcut for the Applications directory, you can use the terminal to issue this command:
Code:
ln -s /Applications /Volumes/Your\ DMG\ Name

That'll create the applications shortcut to drag and drop into...

I believe from there you can unmount and distribute, but until the emulator gets to version 1.0 I don't think it's worth making a DMG. Furthermore, the DMG is akin to an "installer" in windows - so unless you're also creating a .exe wrapper for the JAR in the windows version AND wrapping all of THAT up into an .exe to install with... I don't think there's a need to go all the way to make a DMG for the auto-building bot. I'm sure this entire process can be done using a makefile, but eh... Doesn't seem worth it until it goes to version 1.0, you know what I mean?
Reply


Messages In This Thread
Automated and official SVN builds - by Orphis - 05-20-2010, 04:47 PM
RE: Automated and official SVN builds - by Orphis - 06-08-2010, 06:08 PM
RE: Automated and official SVN builds - by Orphis - 06-08-2010, 10:29 PM
RE: Automated and official SVN builds - by TigerC10 - 06-09-2010, 05:15 AM
RE: Automated and official SVN builds - by Orphis - 06-09-2010, 12:38 PM
RE: Automated and official SVN builds - by Defade - 06-19-2010, 12:09 PM
RE: Automated and official SVN builds - by cmccmc - 06-20-2010, 04:12 PM
RE: Automated and official SVN builds - by Orphis - 06-22-2010, 03:29 PM
RE: Automated and official SVN builds - by Orphis - 06-24-2010, 01:13 PM
RE: Automated and official SVN builds - by yaoni - 07-24-2010, 05:08 PM
RE: Automated and official SVN builds - by Orphis - 07-24-2010, 09:26 PM
RE: Automated and official SVN builds - by Orphis - 08-22-2010, 04:03 AM
RE: Automated and official SVN builds - by Orphis - 08-23-2010, 05:08 PM
RE: Automated and official SVN builds - by shadow - 08-26-2010, 05:08 PM
RE: Automated and official SVN builds - by Orphis - 08-26-2010, 05:36 PM
RE: Automated and official SVN builds - by gid15 - 12-09-2010, 08:49 AM
RE: Automated and official SVN builds - by gid15 - 12-10-2010, 04:16 PM
RE: Automated and official SVN builds - by Hykem - 12-09-2010, 03:04 PM
RE: Automated and official SVN builds - by MaXiMu - 12-10-2010, 06:52 PM
RE: Automated and official SVN builds - by gid15 - 12-11-2010, 05:38 PM
RE: Automated and official SVN builds - by MaXiMu - 12-11-2010, 06:31 PM
RE: Automated and official SVN builds - by Orphis - 12-22-2010, 02:26 PM
RE: Automated and official SVN builds - by pantos - 12-28-2010, 07:29 PM
RE: Automated and official SVN builds - by Orphis - 12-29-2010, 10:45 AM
RE: Automated and official SVN builds - by hyakki - 01-17-2011, 10:04 PM
RE: Automated and official SVN builds - by YSS - 01-22-2011, 12:40 PM
RE: Automated and official SVN builds - by MaXiMu - 01-22-2011, 01:03 PM
RE: Automated and official SVN builds - by YSS - 01-22-2011, 01:20 PM
RE: Automated and official SVN builds - by Orphis - 02-16-2011, 10:46 AM
RE: Automated and official SVN builds - by Orphis - 02-17-2011, 09:22 PM
RE: Automated and official SVN builds - by hyakki - 03-17-2011, 10:23 AM
RE: Automated and official SVN builds - by Orphis - 03-21-2011, 11:38 AM
RE: Automated and official SVN builds - by hyakki - 03-22-2011, 12:12 PM
RE: Automated and official SVN builds - by Orphis - 03-22-2011, 01:16 PM
RE: Automated and official SVN builds - by Orphis - 03-26-2011, 10:30 AM
RE: Automated and official SVN builds - by kirous - 04-22-2011, 09:35 PM
RE: Automated and official SVN builds - by serio - 07-10-2011, 04:58 PM
RE: Automated and official SVN builds - by Hykem - 07-16-2011, 03:25 PM
RE: Automated and official SVN builds - by Zekro - 07-16-2011, 04:02 PM
RE: Automated and official SVN builds - by Hykem - 07-16-2011, 04:07 PM
RE: Automated and official SVN builds - by Hykem - 07-18-2011, 07:50 PM
RE: Automated and official SVN builds - by Zekro - 07-17-2011, 03:59 PM
RE: Automated and official SVN builds - by Orphis - 08-16-2011, 12:48 PM
RE: Automated and official SVN builds - by MaXiMu - 08-16-2011, 12:53 PM
RE: Automated and official SVN builds - by Orphis - 08-21-2011, 10:05 AM
RE: Automated and official SVN builds - by LeaT - 11-01-2011, 11:14 AM
RE: Automated and official SVN builds - by Orphis - 11-01-2011, 01:35 PM
RE: Automated and official SVN builds - by serio - 03-15-2012, 11:24 PM
RE: Automated and official SVN builds - by LeaT - 05-13-2012, 01:24 AM
RE: Automated and official SVN builds - by Orphis - 05-27-2012, 12:39 AM
RE: Automated and official SVN builds - by dee200 - 05-27-2012, 09:34 AM
RE: Automated and official SVN builds - by dee200 - 06-02-2012, 08:07 PM
RE: Automated and official SVN builds - by serio - 07-02-2012, 04:02 PM
RE: Automated and official SVN builds - by shin x - 07-02-2012, 06:13 PM
RE: Automated and official SVN builds - by shin x - 07-02-2012, 06:36 PM
RE: Automated and official SVN builds - by shin x - 07-02-2012, 06:45 PM
RE: Automated and official SVN builds - by serio - 07-02-2012, 09:05 PM
RE: Automated and official SVN builds - by nash67 - 03-14-2013, 06:44 AM
RE: Automated and official SVN builds - by hyakki - 05-17-2013, 05:29 AM
RE: Automated and official SVN builds - by hyakki - 05-20-2013, 04:19 AM
RE: Automated and official SVN builds - by Gargo - 06-22-2013, 08:21 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)