Coder Social home page Coder Social logo

Comments (8)

phinze avatar phinze commented on May 14, 2024

We're still tuning the filetype identification. Since filenames suck for this, we look for output in file -Izb to determine what to do.

Apparently we're not parsing the following properly:

$ file -Izb textadept_6.0_beta_3.osx.zip 
application/x-empty compressed-encoding=application/zip; charset=binary; charset=binary

from homebrew-cask.

phinze avatar phinze commented on May 14, 2024

Weird, over here:

https://github.com/phinze/homebrew-cask/blob/master/lib/cask.rb#L202

We're looking for:

output.chomp.include? 'compressed-encoding=application/zip; charset=binary; charset=binary'

Which should yield true.

I'll look into this more later tonight and follow up.

from homebrew-cask.

phinze avatar phinze commented on May 14, 2024

Oh I bet it's the space in the version. Try 6.0-beta-3 and see if that fixes it for you.

from homebrew-cask.

rgieseke avatar rgieseke commented on May 14, 2024

Alright, this works:
version '6.0-beta-3'

Thanks for looking into it!

from homebrew-cask.

program247365 avatar program247365 commented on May 14, 2024

@phinze

For firefox-aurora, I get:

uh oh, could not identify type of /Library/Caches/Homebrew/firefox-aurora-17.0a2 (210912).dmg

Similar issue?

from homebrew-cask.

phinze avatar phinze commented on May 14, 2024

I just cut v0.3.2 which should handle spaces properly everywhere.

Can you let me know if this solves the problem for you? Seems to work for firefox-aurora here.

from homebrew-cask.

phinze avatar phinze commented on May 14, 2024

Gonna go ahead and close this - pretty sure everything is working here. Feel free to reopen if there are additional issues to work out.

from homebrew-cask.

program247365 avatar program247365 commented on May 14, 2024

@phinze Oops, sorry. Yes, it did indeed fix it for me. Thanks.

from homebrew-cask.

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.