General TC > Programming & Scripting - Unofficial

Firefox - Extension to install the latest version

<< < (8/17) > >>

Lee:
Sorry - I was out of touch for couple of days.  Took me all day to read up on the the thread and write (I was trying to do it between tasks at work)...

coreplayer2 said:

--- Quote --- I  assume the one instance where it failed was on tc-4.x ?
--- End quote ---

Yes - I was only testing on 4.7.7.


--- Quote ---Isn't this the default action of APPS?
--- End quote ---
Yes, but that doesn't make it right.  :)


--- Quote ---I'm thinking that anyone wanting to download or update a commonly used application would want the browser available each time they boot.
--- End quote ---
I was thinking that since it is getting "the latest version" of firefox that it would be more commonly used by people just wanting to try out the new version without committing to it as their primary browser.


--- Quote ---am I wrong in that assumption..??
--- End quote ---
I do regularly find myself on the minority side in matters of opinion.


--- Quote ---If I'm wrong with that assumption, then the philosophy behind Apps is also wrong..?
--- End quote ---
Yeah - just in the choice of the default value of the button.  I would have made it default to "download and load" instead of "onboot".  I didn't mean to make waves.  I'm certainly capable of editing a file like onboot.lst by hand and I regularly do so - I guess that's why  I'm touchy about things changing it as their default action.

----

Nitram said:

--- Quote ---Just providing feedback, it's your script so you can write how you want :)
--- End quote ---

Exactly.  I thank you for the effort you have put into this.  I was just sort of hoping the majority of users felt like I do and it was only a matter of nobody bothering to mention it.

----

Coreplayer2 said:

--- Quote ---similarly most new users are confused when recent changes to their system are not replicated on each and every reboot, clearly this is evident when they haven't grasped the application of persistence.
--- End quote ---

Yeah, I think I remember seeing that come up in the forums once or twice.   ;)

More seriously though, if they aren't going to learn about tce-load, Apps and/or persistence, I can't imagine why they're using Core in the first place.  (Every one beat me up for that - I probably deserve it.)

----

nitram said

--- Quote ---// Thank you nitram for your interesting view...
Get that a lot :)

--- End quote ---

I usually don't ever type "LOL", but this time I really did.  I get that, too.

coreplayer2:
Thanks for everyone's feedback.   I have revisited the firefox-getLatest extension and have modified it's script to address these concerns.   This took quite a while because the options provided so many conditions and of course all needed to be tested...

1. I mistakenly saw ftp. as a shortcut for the protocol in the test for latest version address, it wasn't...   so have fixed this for users of busybox wget in tc-4.x   (I tested only in TC5.x & TC6.x)
2. I have changed the install logic so that firefox.tcz is only added to the current onboot.lst if a previous version (ie: firefox-official or firefox-ESR) was already installed in that onboot.lst (supporting personal onboot.lst's)
3. If updating an older version of firefox.tcz there will be no change in onboot or ondemand status, all updates are handled via TC extension upgrade procedure occurring the next reboot.
4. If firefox.tcz in not discovered in an onboot.lst then users will be advised (reminded of this fact) before the script prompts to quit.
5. Old or depreciated Firefox extensions (ie: firefox-official.tcz firefox-ESR.tcz) will be scheduled for removal via the usual tce-audit during a subsequent reboot.
6. Any condition which require users to be advised (ie: uninstalling old Firefox versions, or advised to reboot to complete upgrade, etc. etc..)  then the script prompts the user to exit allowing time to read any notes before quitting.
 
I think we got this covered :)

nitram:
Thanks for your hard work coreplayer2. Received your message and will test drive later tonight. On behalf of all TC users who would prefer the OnDemand option - thank-you :)

coreplayer2:
Oct 23rd 2015 Update..

I've updated the firefox-getLatest extension to help acquire latest available firefox version, to accommodate Mozilla's recently updated directory structure and web site previously used to obtain the latest release.

Also added some other minor improvements, for example a better "firefox-getLatest.sh -h" menu description of how to obtain beta versions.  Also improved connection tests, since the repo had a temporary issue this week

Attached is the updated script from the extension update submitted today


coreplayer2:
OK, to avoid conflicts with future Lang variations I made a minor change to the script.  Unfortunately this didn't work out so well for our German friends

So I'll modify the extension to reflect the current language directory status for de users and others, meanwhile I've attached a temporary modified script for those requiring DE language version.

 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version