Files
HackBrowserData/cmd/hack-browser-data/main_windows.go
T
Roger 49747bf0ce refactor: move crypto and key retrieval under internal/ (#652)
Crypto stays free of OS calls, so every secret-store read sits behind one masterkey contract.
The macOS v10 retriever reads one run-scoped login keychain handle that Safari will share.
2026-10-27 13:19:45 +08:00

22 lines
443 B
Go

//go:build windows
package main
import (
"github.com/inconshreveable/mousetrap"
"github.com/spf13/cobra"
"github.com/moond4rk/hackbrowserdata/internal/winapi"
)
// configureDoubleClickMode hides the console and bypasses cobra's
// double-click guard when launched from Explorer (issue #344).
func configureDoubleClickMode() {
if !mousetrap.StartedByExplorer() {
return
}
cobra.MousetrapHelpText = ""
winapi.HideConsoleWindow()
}