mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Fix #1627: increase profile maxdepth on OSX
This commit is contained in:
parent
ebd4f13bf3
commit
c55948419f
|
|
@ -690,7 +690,10 @@ export async function getProfileUncached() {
|
|||
let profilecmd
|
||||
if (os !== "win") {
|
||||
const lockfile = os === "mac" ? ".parentlock" : "lock"
|
||||
profilecmd = await run(`find "${ffDir}" -maxdepth 2 -name ${lockfile}`)
|
||||
const maxdepth = os === "mac" ? 3 : 2
|
||||
profilecmd = await run(
|
||||
`find "${ffDir}" -maxdepth ${maxdepth} -name ${lockfile}`,
|
||||
)
|
||||
}
|
||||
if (profilecmd?.code === 0 && profilecmd.content.length !== 0) {
|
||||
// Remove trailing newline
|
||||
|
|
|
|||
Loading…
Reference in a new issue