Replies: 1 comment 5 replies
-
How does PowerPoint's or Office's plugin architecture work? If you can't bundle multiple resources it would then seem to not be very good. Is it already out-of-process from the main app or is it in-process? Sparkle's stance is to discourage injecting Sparkle into host applications that provide plug-in support and perhaps use an external tool process instead (like sparkle-cli) if needed. If multiple plug-ins use Sparkle (with the same class prefixes) injected in the same process, it's problematic. Generally I don't want the Sparkle framework to use Swift (this is completely unrelated with how you're using Sparkle above) at least not until the deployment target is 10.14.6 or above (otherwise the framework will be bloated to include swift libraries). I don't think rewriting parts of Sparkle in Swift for the heck of it is a good justification for bumping the deployment target. Swift Package Manager sometimes causes issues when mixing Obj-C/Swift code so that would need to be assessed as well (we do provide a binary package though, so maybe the situation is different). I care about small code generation too so that would also need to be tested. Obj-C is also currently a more stable binary target (see Swift issues in swiftlang/swift#68163 for example where sometimes binary compatibility breaks). |
Beta Was this translation helpful? Give feedback.
-
Hi,
we are using Sparkle to update our application which integrated into Microsoft PowerPoint. Our standalone application can update using the
Sparkle.framework
but we need also update notifications inside PowerPoint.As our library must be a
.dylib
to run inside PowerPoint, we cannot reference the fullSparkle.framework
in our dynamic library target.As we need to parse the
appcast.xml
file and get information if a new update is available, we need theAppcast Support
part of the Sparkl project.Would you be willing to accept PR which rewrites Appcast code to Swift?
Here is a sample code: https://github.com/slidoapp/Sparkle/tree/dev/appcast_swift_versions
And with new unit tests: https://github.com/slidoapp/Sparkle/tree/dev/appcast_swift_versions_tests
Beta Was this translation helpful? Give feedback.
All reactions