You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
401 B
24 lines
401 B
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"hack-browser-data/core/common"
|
|
"hack-browser-data/log"
|
|
"hack-browser-data/utils"
|
|
"runtime"
|
|
)
|
|
|
|
func main() {
|
|
err := utils.CopyDB(utils.GetDBPath(utils.LoginData), utils.LoginData)
|
|
if err != nil {
|
|
log.Println(err)
|
|
}
|
|
osName := runtime.GOOS
|
|
switch osName {
|
|
case "darwin":
|
|
utils.InitChromeKey()
|
|
common.ParseDB()
|
|
case "windows":
|
|
fmt.Println("Windows")
|
|
}
|
|
}
|
|
|