Fix Windows startup error
This commit is contained in:
parent
b3cf130821
commit
1a86279e5d
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ if(appInfo.platformVersion[0] >= 2) {
|
||||||
if(!defaultSection || !defaultSection.Path) return false;
|
if(!defaultSection || !defaultSection.Path) return false;
|
||||||
|
|
||||||
|
|
||||||
if(defaultSection.IsRelative) {
|
if(defaultSection.IsRelative === "1") {
|
||||||
var defaultProfile = prefDir.clone().QueryInterface(Components.interfaces.nsILocalFile);
|
var defaultProfile = prefDir.clone().QueryInterface(Components.interfaces.nsILocalFile);
|
||||||
try {
|
try {
|
||||||
for each(var dir in defaultSection.Path.split("/")) defaultProfile.append(dir);
|
for each(var dir in defaultSection.Path.split("/")) defaultProfile.append(dir);
|
||||||
|
|
Loading…
Reference in a new issue