Pathing 'fix' for /interface/addons removal + read-only fix

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

Pathing 'fix' for /interface/addons removal + read-only fix

Postby zugster » Thu Dec 21, 2006 4:31 pm

Ok..after getting tired of rebuilding paths to include /interface/addons when most mods dont use this, I made a change to extract to this directory automatically. So if you want to use this replacement file, your zip package should just be a single folder (/modname, in most cases).

Also, I found that uniuploader was failing for some mods (most notably ctraidassist). Turns out any mod/directory that has a read-only file causes the update to fail. To correct this, I wrote a new routine which strips the read-only tag off all the files and folders in the old mod directory.

As a reminder, if you have a zip file with /interface/addons/mod as the structure, you'll have to make a new zip with just /mod. However, this is much easier as you can zip up your own /interface/addons/mod directories in a batch with winrar and specify 'new archive for each folder', making the process MUCH easier.

1) get the uniuploader source and extract it
2) overwrite the Forms1.cs file with the one attached here
3) rebuild the project

C# Express is now a freebie, so $ is no excuse ;)

Hope this helps someone other than me.
zugster
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Thu Dec 07, 2006 2:30 am

Return to UniUploader

Who is online

Users browsing this forum: No registered users and 0 guests

cron