nccgroup / autochrome

This tool downloads, installs, and configures a shiny new copy of Chromium.
Apache License 2.0
449 stars 80 forks source link

Unable to reinstall chromium #16

Closed detournemint closed 5 years ago

detournemint commented 5 years ago
ruby autochrome.rb -c
[???] Detected OS X
[---] Using locally cached Chromium version 687702
/Users/ghorton/Development/autochrome/lib/processor/macosx.rb:36:in `exist?': no implicit conversion of nil into String (TypeError)
    from /Users/ghorton/Development/autochrome/lib/processor/macosx.rb:36:in `tweak_install'
    from /Users/ghorton/Development/autochrome/lib/auto_chrome.rb:57:in `go'
    from autochrome.rb:91:in `<main>'
theblackturtle commented 5 years ago

I have this error too.

dbotamous commented 5 years ago

This worked for me on Mac: ruby ./autochrome.rb -V 612451 -c

swarley7 commented 5 years ago

This appears to be due to the directory structure of current Chromium builds; in particular, the Chromium Framework path has changed.

I was able to get the install to work correctly by modifying autochrome/lib/processor/macosx.rb:9 to FrameworkBinaryGlob = 'Contents/Frameworks/Chromium Framework.framework/Versions/Current/Chromium Framework'.