mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-01 22:57:21 -04:00
Disable sshyp-sync-shim on Windows
This commit is contained in:
@@ -152,7 +152,10 @@ func main() {
|
|||||||
case "clipclear":
|
case "clipclear":
|
||||||
offline.ClipClearArgument()
|
offline.ClipClearArgument()
|
||||||
case "sync":
|
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":
|
case "init":
|
||||||
cli.TempInitCli()
|
cli.TempInitCli()
|
||||||
case "tweak": // TODO offline.Tweak(), exit after run
|
case "tweak": // TODO offline.Tweak(), exit after run
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ func EntryReader(decryptedEntry []string, hidePassword bool, sync bool) {
|
|||||||
fmt.Println()
|
fmt.Println()
|
||||||
}
|
}
|
||||||
|
|
||||||
if sync {
|
if sync && !offline.Windows {
|
||||||
SshypSync() // TODO Remove after native sync is implemented
|
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)
|
// PathSeparator defines the character used to separate directories in a path (platform-specific)
|
||||||
const PathSeparator = "/"
|
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)
|
// PathSeparator defines the character used to separate directories in a path (platform-specific)
|
||||||
const PathSeparator = "\\"
|
const PathSeparator = "\\"
|
||||||
|
const Windows = true // TODO temporary, remove after native sync is implemented
|
||||||
|
|||||||
Reference in New Issue
Block a user