mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-27 20:36:29 -04:00
Disable sshyp-sync-shim on Windows
This commit is contained in:
@@ -152,7 +152,10 @@ func main() {
|
||||
case "clipclear":
|
||||
offline.ClipClearArgument()
|
||||
case "sync":
|
||||
cli.SshypSync() // TODO Remove after native sync is implemented
|
||||
if !offline.Windows {
|
||||
cli.SshypSync() // TODO Remove after native sync is implemented
|
||||
}
|
||||
os.Exit(0)
|
||||
case "init":
|
||||
cli.TempInitCli()
|
||||
case "tweak": // TODO offline.Tweak(), exit after run
|
||||
|
||||
@@ -68,7 +68,7 @@ func EntryReader(decryptedEntry []string, hidePassword bool, sync bool) {
|
||||
fmt.Println()
|
||||
}
|
||||
|
||||
if sync {
|
||||
if sync && !offline.Windows {
|
||||
SshypSync() // TODO Remove after native sync is implemented
|
||||
}
|
||||
|
||||
|
||||
@@ -9,3 +9,4 @@ var ConfigPath = ConfigDir + "/libmutton.ini"
|
||||
|
||||
// PathSeparator defines the character used to separate directories in a path (platform-specific)
|
||||
const PathSeparator = "/"
|
||||
const Windows = false // TODO temporary, remove after native sync is implemented
|
||||
|
||||
@@ -9,3 +9,4 @@ var ConfigPath = ConfigDir + "\\libmutton.ini"
|
||||
|
||||
// PathSeparator defines the character used to separate directories in a path (platform-specific)
|
||||
const PathSeparator = "\\"
|
||||
const Windows = true // TODO temporary, remove after native sync is implemented
|
||||
|
||||
Reference in New Issue
Block a user