World of Warcraft - Linux (wowace) autoupdater: Difference between revisions

From Skytech
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:


[http://skarta.net/perl/updater.pl updater.pl]
[http://skarta.net/perl/updater.pl 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:

<pre>
[ ... ]
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
[ ... ]
</pre>

= Perl modules needed =
You will need <code> LWP::Simple </code>. On most systems this should come with the libwww-perl module (or equivalent)

Revision as of 09:56, 4 January 2008


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)