mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 01:22:27 +01:00
Fix dactyl.profileName on WinNT.
This commit is contained in:
@@ -60,7 +60,7 @@ const Dactyl = Module("dactyl", {
|
|||||||
|
|
||||||
let dir = services.directory.get("ProfD", Ci.nsIFile);
|
let dir = services.directory.get("ProfD", Ci.nsIFile);
|
||||||
for (let prof in iter(services.profile.profiles))
|
for (let prof in iter(services.profile.profiles))
|
||||||
if (prof.QueryInterface(Ci.nsIToolkitProfile).localDir.path === dir.path)
|
if (prof.QueryInterface(Ci.nsIToolkitProfile).rootDir.path === dir.path)
|
||||||
return prof.name;
|
return prof.name;
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user