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:
jst%mozilla.jstenback.com 2005-01-14 21:50:42 +00:00
parent 6c794eecb3
commit cb3684dc0c
4 changed files with 4 additions and 4 deletions

View File

@ -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,"");

View File

@ -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,"");

View File

@ -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,"");

View File

@ -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,"");