mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-26 21:19:56 -04:00
Disable sshyp-sync-shim on Windows
This commit is contained in:
1 parent
f35d1b3741
commit
f83bdb9bdb
4 files changed
+7
-2
No files matched your search
@@ -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