mirror of
https://github.com/swiftbar/SwiftBar.git
synced 2024-09-11 07:55:23 +03:00
Add simple quotation for shell script parameters #366
This commit is contained in:
parent
3bc6c657e9
commit
26e89aabf2
@ -74,7 +74,7 @@ struct MenuLineParameters: Codable {
|
||||
guard let param = params[key] else { continue }
|
||||
out.append(param.escaped())
|
||||
}
|
||||
return out
|
||||
return out.map { "'\($0)'" }
|
||||
}
|
||||
|
||||
var terminal: Bool {
|
||||
|
Loading…
Reference in New Issue
Block a user