Query on different file extension support

Asked by Arnab

My server infrastructure supports a file extension of .DUS which basically gets created by using some signature tool utility and a zip file.

In windows I have seen it is basically a zip file, if the .DUS file is renamed to zip it can unzipped.

Now my question,is it possible to update a file through sparkle other than zip,tar, pkg or on the fly do I need to rename from .DUS to .zip to support? If I am not clear please let me know.This I wanted to do to make the minimal change in the source code for the server infrastructure.

Thanks in advance
Arnab

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Arnab
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

You'll need to rename to .zip. I don't know what .dus is.

Revision history for this message
Arnab (aganguly01) said :
#2

Sorry, the convention is SUD (Software Update Delivery).Hence the file extension is going to be .SUD and the infrastructure is such that .SUD files are there in the webserver.So do you recommend let it get downloaded as .SUD and then rename it to .zip and try unzipping?
Thanks in advance
Arnab

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

Sparkle doesn't support this format. The appcast needs to link to a .zip or a file with another supported extension type—it doesn't do any magic number checking to determine the file type.

Revision history for this message
Arnab (aganguly01) said :
#4

It won't be possilble if I override some of your methods in Sparkle to support the above?
Thanks in advance
Arnab

Revision history for this message
Andy Matuschak (andymatuschak) said :
#5

Yes. It would be. Look in SUUnarchiver.

Revision history for this message
Arnab (aganguly01) said :
#6

Let me give it a try with SUUnarchiver.Thanks for the information.
Regards
Arnab

Revision history for this message
Arnab (aganguly01) said :
#7

Hi,
Any particular method I should be targetting in SUUnarchiver?
Thanks
Arnab

Revision history for this message
Andy Matuschak (andymatuschak) said :
#8

Look around line 97. The code should be pretty straightforward. I can't help you any more specifically, I'm afraid.

Revision history for this message
Arnab (aganguly01) said :
#9

Thanks for all help and your time.
Regards
Arnab