Tiny Core Extensions > TCE Bugs

Firefox bug?

<< < (2/2)

thane:
Yes, just downloaded Firefox 43.0.2 and the issue went away!

nitram:
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: ------ 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

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version