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.
25 lines
401 B
25 lines
401 B
5 years ago
|
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")
|
||
|
}
|
||
|
}
|