Files
HackBrowserData/internal/app/outdir_unix.go
T
Roger 1636091b3f fix: validate first and make -p select what it names (#664)
The pipeline's Validate rejects bad -b/-c/-f/-d/-p before discovery (an unknown -b now exits 1).
-p at a Chromium profile dir uses its parent, so Local State is found; Firefox -p selects only that
profile; the keychain password comes from a flag, stdin, a terminal prompt, or nowhere.
2026-10-28 17:14:13 +08:00

10 lines
151 B
Go

//go:build !windows
package app
import "golang.org/x/sys/unix"
func canCreateIn(dir string) error {
return unix.Access(dir, unix.W_OK|unix.X_OK)
}