mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
Do not take current dir pth for filemanager for recursive codesign executable path check
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
3378126833
commit
119883965a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func recursivelyCodesign(
|
|||
}
|
||||
|
||||
for case let enumeratedItem as String in pathEnumerator {
|
||||
let isExecutableFile = try isExecutable(fm.currentDirectoryPath + "/" + path + "/" + enumeratedItem)
|
||||
let isExecutableFile = try isExecutable(path + "/" + enumeratedItem)
|
||||
guard isLibrary(enumeratedItem) || isAppExtension(enumeratedItem) || isExecutableFile else {
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue