mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Landing fix for bug 154934, patch by computergeekvandy@hotmail.com. Auto-genrate GeckoVer value at build time. r=bryner@brianryner.com, sr=jst@mozilla.org
This commit is contained in:
parent
6c794eecb3
commit
cb3684dc0c
@ -212,7 +212,7 @@ function registerMainKeys(winreg)
|
||||
// "SOFTWARE\\Mozilla" must not be localized!
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$";
|
||||
winreg.createKey(subkey,"");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "1.0.1");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "$GreVersion$");
|
||||
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\Extensions";
|
||||
winreg.createKey(subkey,"");
|
||||
|
@ -214,7 +214,7 @@ function registerMainKeys(winreg)
|
||||
// "SOFTWARE\\Mozilla" must not be localized!
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$";
|
||||
winreg.createKey(subkey,"");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "1.0.1");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "$GreVersion$");
|
||||
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\Extensions";
|
||||
winreg.createKey(subkey,"");
|
||||
|
@ -278,7 +278,7 @@ function registerMainKeys(winreg)
|
||||
// "SOFTWARE\\Mozilla" must not be localized!
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$";
|
||||
winreg.createKey(subkey,"");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "1.0.1");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "$GreVersion$");
|
||||
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\Extensions";
|
||||
winreg.createKey(subkey,"");
|
||||
|
@ -278,7 +278,7 @@ function registerMainKeys(winreg)
|
||||
// "SOFTWARE\\Mozilla" must not be localized!
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$";
|
||||
winreg.createKey(subkey,"");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "1.0.1");
|
||||
err = winreg.setValueString(subkey, "GeckoVer", "$GreVersion$");
|
||||
|
||||
subkey = "SOFTWARE\\Mozilla\\$ProductName$ $UserAgentShort$\\Extensions";
|
||||
winreg.createKey(subkey,"");
|
||||
|
Loading…
Reference in New Issue
Block a user