[tor-bugs] #4261 [Tor bundles/installation]: Use .dmg rather than .zip for Mac OS X
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue Jan 3 14:37:18 UTC 2012
#4261: Use .dmg rather than .zip for Mac OS X
--------------------------------------+-------------------------------------
Reporter: ioerror | Owner: erinn
Type: task | Status: new
Priority: normal | Milestone:
Component: Tor bundles/installation | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------------------------+-------------------------------------
Comment(by hellais):
I have made a patch for making this work programmatically.
Creating DS_Store files is a PITA. What mozilla does is even more dirty
than the solution that we are going to use. The basically take a .DS_Store
file and modify it to their needs.
What we will do is instead use AppleScript to set the parameters of the
.dmg image and have the OSX handle the DS_Store writing.
On a high level what it does is create a .dmg image with background image,
icons and proper sizing.
The only doubt that we had with erinn is that this will have a slightly
different behavior than what users are usually used to. Since the .dmg is
mounted as read-only they will not be able to run TBB directly from the
.dmg container.
We have solved this by writing in the background image of the .dmg the
text "Copy to you applications folder or to an external drive".
This is how the mounted image looks like:
http://hellais.github.com/drop/Tor%20Browser%20Bundle%20OSX-screenshot.png
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4261#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list