mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
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.
22 lines
443 B
Go
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()
|
|
}
|