World of Warcraft - Linux (wowace) autoupdater

From Skytech
Revision as of 09:56, 4 January 2008 by 80.166.222.82 (talk)
Jump to navigation Jump to search


Download

First off, download the perl script (~3k source code). You can grab it from here:

updater.pl

Setup file

Just edit the file and make sure the settings fits you.

In particular you should make sure the path to your addon directory is correctly set, and you have to specify a place where it downloads and temporarily puts the addons before it extracts them to the addon directory.

These settings are located in the top of the script and the defaults are:

[ ... ]
my $sPathToAddons = '/home/$USERNAME/.wine/drive_c/Program Files/World of Warcraft/Interface/AddOns';
my $sPathToSaveNewAddons = '/tmp';
my $iDebug = 0; # Set to 1 if you want to see some outpu
[ ... ]

Perl modules needed

You will need LWP::Simple . On most systems this should come with the libwww-perl module (or equivalent)