Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: caminati on November 17, 2012, 02:11:42 PM

Title: firefox.tcz: prevent auto-update
Post by: caminati on November 17, 2012, 02:11:42 PM
A minor enhancement.
What about adding a file firefox.tcz/usr/local/firefox-official/defaults/preferences/foo.js containing the following text:

Code: [Select]
//@line 2 "/builds/slave/rel-m-rel-lnx-bld/build/browser/app/profile/channel-prefs.js"
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

pref("app.update.auto", false);

This sets a system-wide (global, all-user) setting corresponding to the preference
Quote
Check for updates, but let me choose whether to install them

This is because if you got trapped into an auto-update and then quit/restart firefox, it won't launch anymore. And, anyway, updates should be delegated to the TC packager alone.
I am using the fix above, and it seems it works.

By the way, there is another file (don't know who created it) inside defaults/pref; however, this location has been deprecated since version 14, and I tested indeed that it won't work any longer (defaults/preferences, the one I am proposing, does for me). See https://bugzilla.mozilla.org/show_bug.cgi?id=747567 (https://bugzilla.mozilla.org/show_bug.cgi?id=747567).
Title: Re: firefox.tcz: prevent auto-update
Post by: Jason W on November 17, 2012, 04:53:36 PM
Thanks, I will look at this tomorrow.
Title: Re: firefox.tcz: prevent auto-update
Post by: Jason W on November 18, 2012, 10:25:35 PM
Added the preferences/foo.js fiile entry.

As for the superfluous defaults/pref directory, being deprecated Mozilla should have it gone in the next Firefox release or two, which will likely be soon, so for now leaving put.  But if it stays after the next major release and is not needed, then we can deal with it.

Thanks for the info.
Title: Re: firefox.tcz: prevent auto-update
Post by: caminati on November 20, 2012, 09:40:56 AM
Added the preferences/foo.js fiile entry.

As for the superfluous defaults/pref directory, being deprecated Mozilla should have it gone in the next Firefox release or two, which will likely be soon, so for now leaving put.  But if it stays after the next major release and is not needed, then we can deal with it.

Thanks for the info.

Thanks, I am updating my firefox.tcz to see how it works.
Title: Re: firefox.tcz: prevent auto-update
Post by: ananix on November 21, 2012, 07:27:58 AM
can we get something like this for thunderbird too :)
Title: Re: firefox.tcz: prevent auto-update
Post by: Lee on November 21, 2012, 07:34:23 AM
and filezilla ?
Title: Re: firefox.tcz: prevent auto-update
Post by: netnomad on November 29, 2012, 07:16:28 AM
can we get something like this for thunderbird too :)

good idea,
you should inform bmarkus, the maintainer of thunderbird.