mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 05:19:13 +00:00
bump version
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
//
|
||||
|
||||
VERSION = 1.0
|
||||
BUILD = 73
|
||||
BUILD = 86
|
||||
|
||||
// Configuration settings file format documentation can be found at:
|
||||
// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project
|
||||
|
||||
@@ -54,7 +54,7 @@ class SSHHandler: @unchecked Sendable, ObservableObject {
|
||||
do {
|
||||
try connect()
|
||||
} catch {
|
||||
print("error in connect \(error.localizedDescription)")
|
||||
// print("error in connect \(error.localizedDescription)")
|
||||
return
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ class SSHHandler: @unchecked Sendable, ObservableObject {
|
||||
try privInp.write(to: tempKey, options: .completeFileProtection)
|
||||
} catch {
|
||||
print("file writing error")
|
||||
print(error.localizedDescription)
|
||||
// print(error.localizedDescription)
|
||||
}
|
||||
|
||||
let attributes: [FileAttributeKey: Any] = [.posixPermissions: 0o600]
|
||||
@@ -256,7 +256,7 @@ class SSHHandler: @unchecked Sendable, ObservableObject {
|
||||
try fileManager.setAttributes(attributes, ofItemAtPath: tempPubkey.path())
|
||||
try fileManager.setAttributes(attributes, ofItemAtPath: tempKey.path())
|
||||
} catch {
|
||||
logCritical("permission settig failed\(error.localizedDescription)")
|
||||
// logCritical("permission settig failed\(error.localizedDescription)")
|
||||
}
|
||||
|
||||
var pubkey: ssh_key?
|
||||
|
||||
Reference in New Issue
Block a user