WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Firefox bug?  (Read 2363 times)

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Firefox bug?
« on: December 24, 2015, 03:18:44 AM »
Probably not worth a thread, since it's more likely a Firefox bug than a TC extension bug, but...

Firefox help/About Firefox says "Updates available at..." and then the Firefox website link. When you click on the link the website congratulates you for running the latest version of Firefox. Go figure...
« Last Edit: December 24, 2015, 03:25:30 AM by thane »

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Firefox bug?
« Reply #1 on: December 24, 2015, 05:24:09 AM »
Most everything is worth a read. IIRC when Firefox was a repository extension instead of getFirefox, the extension maintainer disabled the update check in the build as it doesn't work in TC and would only confuse new users. I don't have an active Firefox installed ATM to test, but on another drive there's an older Firefox, in it's main directory is:
update-settings.ini
updater
updater.ini

Query whether removing these disables Firefox updater without breaking anything. Maybe could eventually be incorporated into coreplayer2's getFirefox script (or whatever now called).

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox bug?
« Reply #2 on: December 24, 2015, 11:17:05 AM »
Please be sure to use the latest " firefox_getLatest.tcz " extension

Yes it's a slight name change to resolve an issue with flwm

current firefox version is 43.0.1
current firefox ESR version is 38.5.2 (an update currently being submitted)

I have see the conflict you speak of when there is an update, it's internal to firefox and needs passing upstream.  However the glitch only lasted a couple of hours for me.   Additionally Firefox has recently made changes to the update notification.  IIRC the code change prevented the update popup notification which i believe no longer exists. 

It takes too long to update via the repository to accommodate every update, firefox_getLatest allow folks to download the very latest updates (or version of their choice) for their architecture as they occur in their native language if supported and set.   


:)
 
« Last Edit: December 24, 2015, 11:40:25 AM by coreplayer2 »

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Firefox bug?
« Reply #3 on: December 25, 2015, 04:45:01 AM »
Yes, I used the latest firefox_getLatest.tcz (very useful app by the way) and downloaded Firefox 43.0.1. That's when I noticed the help issue. Since I used the same app for 43.0 and didn't see the issue, I'm assuming it's a Firefox thing rather than a TC thing.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox bug?
« Reply #4 on: December 25, 2015, 02:37:45 PM »
LOL  Only a few hours passed before Firefox version 43.0.1 was outdated..

luckily firefox_getLatest.tcz is performing as expected, keeping us updated with the latest Firefox whenever it's needed.

 

Offline thane

  • Hero Member
  • *****
  • Posts: 697
Re: Firefox bug?
« Reply #5 on: December 25, 2015, 03:22:34 PM »
Yes, just downloaded Firefox 43.0.2 and the issue went away!

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Firefox bug?
« Reply #6 on: December 25, 2015, 08:19:32 PM »
Hi coreplayer2.

Did some tests, the Firefox updater files can be removed before squashing. It disables the ability to update the regular Firefox way, which obviously doesn't work in TC. It is pretty slick, still allows checking for updates, discretely lets user know if update available, just doesn't attempt to download or install anything.

Learning how to script, made a patch, if you want to imort into your existing script and test with an outdated Firefox that requires an update. You are welcome to use as you wish. Anyone reading, script feedback appreciated. Just a simple patch, could all these new entries have been combined? [EDIT] ...maybe with updat* to capture all files?

Code: [Select]
--- firefox_getLatest.sh.original
+++ firefox_getLatest.sh.patched
@@ -561,6 +561,19 @@
 cp ${ffdirpath}/${ff}/browser/chrome/icons/default/default48.png ${ffdirpath}/share/pixmaps/${ff}.png
 fi
 
+#remove Firefox update
+if [ -f ${ffdirpath}/${ff}/update-settings.ini ]; then
+rm ${ffdirpath}/${ff}/update-settings.ini
+fi
+
+if [ -f ${ffdirpath}/${ff}/updater ]; then
+rm ${ffdirpath}/${ff}/updater
+echo -e "\n ${BLUE}Keepin' it Tiny Core friendly, removed Firefox updater${NORMAL}.. "
+fi
+
+if [ -f ${ffdirpath}/${ff}/updater.ini ]; then
+rm ${ffdirpath}/${ff}/updater.ini
+fi
 
 #set permissions
 if [ "$PWD" != "$ffBuildPath/${ff}" ]; then
« Last Edit: December 25, 2015, 08:22:18 PM by nitram »