sparkle

Sparkle 10.9 Linking Error

我是研究僧i 提交于 2019-12-08 11:14:57
问题 Having an issue where when trying to add Sparkle to my project with Xcode 5 running 10.9. I have followed the tutorial to a T, but when I get to the point where I need to copy the framework and set its copy location that is where there seems to be no way to set the copy destination in the copy bundle resources section and it just puts the framework int the /Resources folder. I have ready through this tread thoroughly and have tried all the suggestions here. http://www.lists.apple.com/archives

How to start Go's main function from within the NSApplication event loop?

这一生的挚爱 提交于 2019-12-07 18:19:54
问题 I'm trying to add Sparkle into my Qt (binding for Go) app to make it can be updated automatically. Problem: there is no popup dialog when running the latest version Here's the code: https://github.com/sparkle-project/Sparkle/blob/master/Sparkle/SUUIBasedUpdateDriver.m#L104 The reason as the author pointed out is NSAlert needs a run loop to work. I found some docs: https://wiki.qt.io/Application_Start-up_Patterns https://developer.apple.com/documentation/appkit/nsapplication So, as I

How to start Go's main function from within the NSApplication event loop?

限于喜欢 提交于 2019-12-06 00:52:20
I'm trying to add Sparkle into my Qt ( binding for Go ) app to make it can be updated automatically. Problem: there is no popup dialog when running the latest version Here's the code: https://github.com/sparkle-project/Sparkle/blob/master/Sparkle/SUUIBasedUpdateDriver.m#L104 The reason as the author pointed out is NSAlert needs a run loop to work. I found some docs: https://wiki.qt.io/Application_Start-up_Patterns https://developer.apple.com/documentation/appkit/nsapplication So, as I understand, we have to instantiate NSApplication before creating a QApplication . void NSApplicationMain(int

No “up to date” message when running the latest version?

我怕爱的太早我们不能终老 提交于 2019-12-05 05:55:40
I'm trying to use Sparkle with Qt ( binding for Go ) app. sparkle.m: #import <Headers/SUUpdater.h> static SUUpdater* updater = nil; void sparkle_checkUpdates() { if (!updater) { updater = [[SUUpdater sharedUpdater] retain]; } [updater setUpdateCheckInterval:3600]; [updater checkForUpdatesInBackground]; } sparke.go: // +build darwin windows package main /* #cgo CFLAGS: -I ${SRCDIR}/Sparkle.framework #cgo LDFLAGS: -F ${SRCDIR} -framework Sparkle void sparkle_checkUpdates(); */ import "C" func sparkle_checkUpdates() { C.sparkle_checkUpdates() } And in main.go , I added a menu to call that func:

OS X app update issue with Sparkle under Mavericks and XCode 5

亡梦爱人 提交于 2019-12-04 09:29:21
I use the Sparkle framework to handle my app updates. Everything worked fine until recently, when I upgraded to OS X 10.9 Mavericks and XCode 5.0.2. When I compile my app under OS X 10.8.4 and XCode 4.6.3, it can then be updated with no issue. But when I compile the exact same code, with the same XCode project and the same code signing under Mavericks and XCode 5.0.2, the generated bundle can't be updated, Sparkle crashing during the update process with the following error : Terminating app due to uncaught exception 'NSDestinationInvalidException', reason: ' * +[SUPlainInstaller

Can you update a sandboxed Mac app using Sparkle or something similar?

自闭症网瘾萝莉.ら 提交于 2019-11-29 00:44:18
问题 For those distributing Mac apps outside the Mac App Store, how are you planning to support updating and sandboxing? I'm guessing most people's answers for the time being is that they're not, but I hope that eventually non-MAS apps could be sandboxed just like MAS apps. To use Sparkle, your app would need network access, which could be granted, as well as the ability to overwrite itself in Applications. Currently you could do this with the com.apple.security.temporary-exception.files.absolute