-
Junior Member
Python script to fix the Quake Live version problem on Linux
Hi,
A created a Python script which fixes the version problem with Firefox
You can download it here:
https://github.com/samyboy/qlive_ff_fix
Just download the official plugin manually, then execute the python script in a command line:
python qlive_ff_fix.py QuakeLivePlugin_433.xpi
The script has been tested on my computer (Ubuntu 10.4) and works well.
Please post comments if you have problems/questions.
-
If it works, I suggest you to ask Yakumo to add it on the sticky thread.
-
Junior Member
Yeah, I'm waiting for some feedback actually.
-
AFAICT, this can't work with the original/official extension. It needs an extension that's already fixed for FF4 because your script can only bump the max version to 7.
Main thread with install.rdf explained and pre-made FF7-compatible extension: http://www.quakelive.com/forum/showthread.php?7195
-
Junior Member
You can choose what version you want 
If you want to fix for Firefox 6:
qlive_ff_fix.py -V 6 QuakeLivePlugin_433.xpi
-
Fine, however I can't see "unpack" anywhere in the script...
-
Junior Member
What do you mean by "unpack"?
-
-
Senior Member
why not just regex-replace the maxVersion line instead of parsing the entire xml document? KISS
-
Junior Member
Diplodok, thanks for that, I fixed this.
wolf1e, this blog post conviced me that was a bad idea. Plus I wanted to learn how to parse xml.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules