mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Renamed persistent credentials file and restricted login message for windows users
This commit is contained in:
parent
e855c16a2f
commit
b9b9654d2c
2 changed files with 3 additions and 3 deletions
|
|
@ -64,11 +64,11 @@ func loginStorePath() string {
|
|||
if loginPersistentFlag {
|
||||
if runtime.GOOS != "windows" {
|
||||
usr, _ := user.Current()
|
||||
path = filepath.Join(usr.HomeDir, ".config/crunchyroll-go")
|
||||
path = filepath.Join(usr.HomeDir, ".config/crunchy")
|
||||
}
|
||||
|
||||
out.Info("The login information will be stored permanently UNENCRYPTED on your drive (%s)", path)
|
||||
} else {
|
||||
} else if runtime.GOOS != "windows" {
|
||||
out.Info("Due to security reasons, you have to login again on the next reboot")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ func loadCrunchy() {
|
|||
|
||||
if runtime.GOOS != "windows" {
|
||||
usr, _ := user.Current()
|
||||
files = append(files, filepath.Join(usr.HomeDir, ".config/crunchyroll-go"))
|
||||
files = append(files, filepath.Join(usr.HomeDir, ".config/crunchy"))
|
||||
}
|
||||
|
||||
var body []byte
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue