Giter VIP home page Giter VIP logo

Comments (4)

TheAssassin avatar TheAssassin commented on May 23, 2024

@probonopd well, the detection logic relies on them to be there. Is there any example code to "detect" whether something is a valid type 1 AppImage? Do I have to test for the ELF header and the ISO9660?

Should I take any non-2 file as a type 1 AppImage? I've read these "guessing type 1" lines from time to time.

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

String "ELF" at offset 1 and string "CD001" at offset 32769 = type-1 AppImage.

from appimageupdate.

TheAssassin avatar TheAssassin commented on May 23, 2024

@probonopd please try the next build with your AppImage. It detects type 1 based on the method you described. For the Audacity AppImage you tried specifically, update information seems to be lacking though.

from appimageupdate.

probonopd avatar probonopd commented on May 23, 2024

Yes, works as intended now. Thank you!

me@host:~$ Downloads/AppImageUpdate-169-6ed6b6b-x86_64.AppImage Downloads/Audacity-2.0.5.glibc2.15-x86_64.AppImage 
AppImageUpdate version 1-alpha (commit 6ed6b6b), build 169 built on 2017-11-25 01:42:31 UTC
Checking for updates...
Invalid magic bytes: 00
Guessing AppImage type 1
Could not find update information in the AppImage. Please contact the author of the AppImage and ask him to embed update information.

from appimageupdate.

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.