Giter VIP home page Giter VIP logo

sparklesharp's People

Contributors

fiam avatar rainycape avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sparklesharp's Issues

Help with EdDSA Key

Description of the problem

Hi,

I'm trying to get Sparkle to work on my Xamarin.Mac app through these bindings however I seem to be not understanding the updating process.

Currently what i understand to process is...

  1. Add appcast.xml url path in SUFeedURL in info.plist
  2. Generate EdDSA Key
  3. Put EdDSA public key in Resource and add in info.plist under SUPublicDSAKeyFile : dsa_pub.pem
  4. Publish the application as a .app file
  5. Sign the .app file. Done with
    codesign -f -vvvv --strict --deep -s "Developer ID Application: ******" DemoApp.app
  6. Put the .app file in a .dmg file
  7. Sign the dmg with my EdDSA private key
    ./sign_update ~/Desktop/DemoApp.dmg dsa_priv.pem
  8. Convert my dmg file to a read only
    hdiutil convert ~/Desktop/DemoApp.dmg -format UDRO -o ~/Desktop/demoReadonly.dmg
  9. Upload the dmg file to my website
  10. Update my appcast.xml
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
  <channel>
    <title>For unit test only</title>
    <item>
        <title>Version 2.0</title>
        <description>desc</description>
        <pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
        <enclosure url="www.mywebsite.com/demoReadonly.dmg" sparkle:version="2.0" />
        <sparkle:tags> <sparkle:criticalUpdate /> </sparkle:tags> 
    </item>
  </channel>
</rss>

After doing all this my app is able to detect there is an update available and pulls down the update but i end up with the Console.app output below

Do you use Sandboxing in your app?

I am not using Sandboxing

Version of Sparkle.framework in the latest version of your app

From what i understand the binding pulls the latest version of Sparkle and create bindings from that.

Version of Sparkle.framework in the old version of app that your users have (or N/A)

No

Sparkle's output from Console.app

2019-02-25 14:43:27.614 Demo App[36902:2325600] Sparkle: ===== Demo App =====
2019-02-25 14:43:27.615 Demo App[36902:2325600] Sparkle: Extracting /Users/dev1/Library/Caches/com.oganisation.demoapp.macos/org.sparkle-project.Sparkle/Demo App 3.0/DemoAppInstall.dmg as a DMG
2019-02-25 14:43:32.990 Demo App[36902:2325600] Sparkle: copyItemAtPath:/Volumes/EB5B127E-3871-439D-A742-932733464C6C/  toPath:/Users/dev1/Library/Caches/com.oganisation.demoapp.macos/org.sparkle-project.Sparkle/Demo App 3.0/ 
2019-02-25 14:43:32.992 Demo App[36902:2325600] Sparkle: copyItemAtPath:/Volumes/EB5B127E-3871-439D-A742-932733464C6C/.DS_Store toPath:/Users/dev1/Library/Caches/com.oganisation.demoapp.macos/org.sparkle-project.Sparkle/Demo App 3.0/.DS_Store
2019-02-25 14:43:32.993 Demo App[36902:2325600] Sparkle: copyItemAtPath:/Volumes/EB5B127E-3871-439D-A742-932733464C6C/.fseventsd toPath:/Users/dev1/Library/Caches/com.oganisation.demoapp.macos/org.sparkle-project.Sparkle/Demo App 3.0/.fseventsd
2019-02-25 14:43:33.000 Demo App[36902:2325600] Sparkle: copyItemAtPath:/Volumes/EB5B127E-3871-439D-A742-932733464C6C/2.app toPath:/Users/dev1/Library/Caches/com.oganisation.demoapp.macos/org.sparkle-project.Sparkle/Demo App 3.0/2.app
"disk3" ejected.
2019-02-25 14:43:42.873 Demo App[36902:2325583] Sparkle: There is no DSA signature to check
2019-02-25 14:43:42.874 Demo App[36902:2325583] Sparkle: DSA signature validation failed. The update has a public DSA key and is signed with a DSA key, but the public key doesn't match the signature. The update will be rejected.
2019-02-25 14:43:44.341 Demo App[36902:2325583] Sparkle: Error: An error occurred while extracting the archive. Please try again later. The update is improperly signed. (URL (null))

Steps to reproduce the behavior

Steps have been described above in Description of problem. If more information is required I will be able to provide more.

Incompatible Target Framework Xamarin.Mac Version=2.0

When trying to add Sparkle as a reference I get incompatible target framework. I was able to edit the .csproj file and get the reference added. Not sure is there is anything that needs updated for this to be added via the Edit References

screen shot 2018-03-23 at 3 41 39 pm

Xamarin Project without NIB

Thank you for releasing SparkleSharp. I have a Xamarin project I would like to use Sparkle in.

I am using ETO instead of native widgets because we are sharing this project with Linux and Windows with a common GUI.

The instructions on the Sparkle site for creating the Check for Updates menu item assume the app project has a NIB. I don't. Can you tell me how I can add Sparkle to this project with a check for updates menu item?

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.