General TC > Programming & Scripting - Unofficial

Firefox - Extension to install the latest version

(1/17) > >>

coreplayer2:
First, this script was designed to download and package as a tcz extension the latest version of firefox for TC-5.x and TC-6.x, however it has become a little more than that.

This version will attempt to detect the current latest official firefox download, then package it up as a firefox-official extension and install it.
There are options to specify the exact version desired if this differs from the latest, or if this script is no longer able to detect the latest version.because of a change in the mozilla latest web page..??
Additionally, an option to manually edit the firefox download http or ftp address is provided should anyone have specific localization requests.

This script is an updater and an installer.  it does not require any previous install of firefox at all.
This version of the script supports

tc-5-x86
tc-5-x86_64
tc-6-x86
tc-6-x86_64

The newly created firefox-official extension is a direct replacement, therefore will upgrade a previously installed version if found
eg: firefox-official.tcz from both tc-5-x86 & tc-6-x86 repo's

Additionally is a direct replacement for
firefox.tcz from the tc-5-x86_64 repo, however this extension will not be automatically upgraded, there will be an option to uninstall it before the script exit's

With this script (soon to be extension) these previously mentioned firefox-official extensions will no longer be supported and are likely redundant.

In the case of
firefox.tcz from the tc-5-x86_64 and
firefox.tcz from both tc-5-x86 & tc-6-x86 repo's
there is provided a means of uninstalling these outdated firefox extensions if currently installed in the systems onboot.lst
this script will not uninstall any previously installed firefox extensions unless you opt-in to do so
The onus is on the user to uninstall older and possibly conflicting firefox extensions, but I've tried to do the next best thing in that regard.

The only drawback as far as I can see is the process will probably require a reasonably good connection and some free space in terms of memory and permanent storage. 

I'll be grateful for feedback and suggestions



A huge thank you to those who have been helping to test this script.
I should also thank aus9 who's original script inspired me

coreplayer2:
To use:

download the script
set executable permissions
run the script until completion
uninstall old version as required
then reboot

:)

Misalf:

--- Quote ---The only drawback as far as I can see is the process will probably require a reasonably good connection [...]

--- End quote ---

I will test and report back as soon as my 3G connection limit kicks in (after downloading 5GB of data the speed is limited to 56Kbit/s). For now I know it works flawlessly at ~2Mbit/s. I'll go watching some youtube with firefox-official. (;

coreplayer2:
I'm guessing if you have no problems with a 3G connection then I think we're safe!!  concern debunked..   2Mbit/s is fast compared to data plans we used to have
[emoji12]




Sent from my iPhone using Tapatalk

coreplayer2:
So how long did it take to download the Firefox tar file, 20 seconds?


Sent from my iPhone using Tapatalk

Navigation

[0] Message Index

[#] Next page

Go to full version