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