mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Issue #991 Part 7: Toolkit Components
This commit is contained in:
parent
c54c6d3bd2
commit
e309515e66
18 changed files with 55 additions and 204 deletions
|
|
@ -27,11 +27,9 @@ function run_test() {
|
|||
QueryInterface(Ci.nsIXULRuntime);
|
||||
var abi = macutils && macutils.isUniversalBinary ? "Universal-gcc3" : appInfo.XPCOMABI;
|
||||
|
||||
let channel = "default";
|
||||
let defaults = prefs.QueryInterface(Ci.nsIPrefService).getDefaultBranch(null);
|
||||
try {
|
||||
channel = defaults.getCharPref("app.update.channel");
|
||||
} catch (e) {}
|
||||
let channel = defaults.getCharPref("app.update.channel", "default");
|
||||
|
||||
// Set distribution values.
|
||||
defaults.setCharPref("distribution.id", "bacon");
|
||||
defaults.setCharPref("distribution.version", "1.0");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue