mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
native.ts: Fix profiledir != "auto" not working on windows
Somehow () => profiledir works on linux but doesn't on windows. () => profiledir doesn't make sense anyway.
This commit is contained in:
parent
11329c770a
commit
689994eda5
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ export function getProfileName() {
|
|||
|
||||
export async function getProfileDir() {
|
||||
let profiledir = config.get("profiledir")
|
||||
if (profiledir != "auto") return Promise.resolve(() => profiledir)
|
||||
if (profiledir != "auto") return Promise.resolve(profiledir)
|
||||
return getProfile().then(p => p.absolutePath)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue