Giter VIP home page Giter VIP logo

Comments (4)

rpappalax avatar rpappalax commented on September 13, 2024

Ok i remember now.
Mount to /Volumes with this command:
http://apple.stackexchange.com/a/73931
Then,
$ cp -R /Volumes/xxxx.app
Then kick back with a book

from ff-tool.

pdehaan avatar pdehaan commented on September 13, 2024

SMASHING, RICKY!

Oddly, this initial attempt seems to work (naturally we prefer to avoid sudo if possible, since that'd be blocking):

$ hdiutil attach firefox-45.0a1.en-US.mac.dmg -mountpoint foo45
expected   CRC32 $740D6CD9
/dev/disk3              Apple_partition_scheme
/dev/disk3s1            Apple_partition_map
/dev/disk3s2            Apple_HFS                       /Users/pdehaan/Downloads/foo45

$ ls -las foo45
total 1776
   4 lrwxrwxr-x@   1 pdehaan  staff      13 Nov 25 04:41   -> /Applications
   0 drwxr-xr-x@   7 pdehaan  staff     238 Nov 25 04:41 .
   0 drwx------+ 786 pdehaan  staff   26724 Feb 22 23:42 ..
  28 -rw-r--r--@   1 pdehaan  staff   12292 Nov 25 04:41 .DS_Store
1744 -rw-r--r--@   1 pdehaan  staff  891873 Nov 25 04:41 .VolumeIcon.icns
   0 drwxr-xr-x@   3 pdehaan  staff     102 Nov 25 04:41 .background
   0 drwxr-xr-x@   3 pdehaan  staff     102 Nov 25 04:18 FirefoxNightly.app

$ ./foo45/FirefoxNightly.app/Contents/MacOS/firefox --version
Mozilla Firefox 45.0a1

Although I think more investigation is needed, because if I unmount that device in Finder, it sort of disappears from my machine. So maybe your three-step process of attaching+copying+detaching is better.

from ff-tool.

rpappalax avatar rpappalax commented on September 13, 2024

Yay!! Thanks man
Anxious to get back to this.

from ff-tool.

pdehaan avatar pdehaan commented on September 13, 2024

Closing. I'm happy-ish with our solution in 16aff3b.
I'll do a future PR to move the hdiutil stuff into a separate module to mask some of the horror.

from ff-tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.