[Sparkle] Asset Updates

Tom McKenzie Tom.McKenzie at positscience.com
Fri Jun 6 12:39:34 PDT 2008


What if I have another app I want to update?  Could I use this approach?


 

FirstApp.app

               Contents
                               Resources
                                              ImageFor1.jpg
                                              ImageFor2.jpg <- gets
moved or copied to the other app

 

SecondApp.app

               Contents
                               Resources
                                              ImageFor2.jpg
 
Ideally I guess I would have Sparkle on both apps but the other one is
not written in Cocoa.  
 
I know this is hacky and probably dangerous if the other application is
running.  I also need to make sure the folder structure is consistent.
 

 

________________________________

From: sparkle-bounces at lists.andymatuschak.org
[mailto:sparkle-bounces at lists.andymatuschak.org] On Behalf Of Andy
Matuschak
Sent: Wednesday, May 28, 2008 9:00 PM
To: A mailing list for developers using Sparkle
Subject: Re: [Sparkle] Asset Updates

 

Yeah, or subclass SUInstaller, but you really really really shouldn't
store resources outside your app bundle.


- Andy Matuschak 

 

On May 28, 2008, at 8:57 PM, Tom McKenzie wrote:





Since the resources are outside of the bundle can I use the
SUUpdaterWillRestartNotification to move them to the right place?


On 5/28/08 10:45 AM, "Andy Matuschak" <andy at andymatuschak.org> wrote:




Sparkle replaces everything inside the app bundle; just include your
whole .app in the update archive, and any resources inside will be
updated as well.
 
- Andy Matuschak 

On May 28, 2008, at 8:46 AM, Tom McKenzie wrote:




Hello All
 
Suppose I have an application with images and config files that I would
like to update.
 
For example:
MyApp.app
/Applications/MyApp/Images/Foo.png
/Applications/MyApp/Config/Config.xml
 
When I build my update dmg or zip I'm assuming I would include these
files and they would replace the files relative to the where the
application is running?
 
So the the dmg or zip would have
MyApp.app
/Images/Foo.png
/Config/Config.xml
 
Ideally these would be in the Resouces folder of an app bundle but
unfortunately this is a legacy app which expects certain paths.
 
Thanks,
Tom
 
 
 
 
_______________________________________________
Sparkle mailing list
Sparkle at lists.andymatuschak.org
http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org



________________________________

_______________________________________________
Sparkle mailing list
Sparkle at lists.andymatuschak.org
http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org

_______________________________________________
Sparkle mailing list
Sparkle at lists.andymatuschak.org
http://lists.andymatuschak.org/listinfo.cgi/sparkle-andymatuschak.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andymatuschak.org/pipermail/sparkle-andymatuschak.org/attachments/20080606/b8ec38ed/attachment.htm>


More information about the Sparkle mailing list