diff options
Diffstat (limited to 'Utils/PathUtils.swift')
-rw-r--r-- | Utils/PathUtils.swift | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Utils/PathUtils.swift b/Utils/PathUtils.swift new file mode 100644 index 0000000..a82261a --- /dev/null +++ b/Utils/PathUtils.swift @@ -0,0 +1,13 @@ +// +// PathUtils.swift +// PrySDR +// +// Created by Jacky Jack on 29/11/2024. +// + +import Foundation + +//get current run directory +func getCurrentExecutableDir() -> String { + return Process().currentDirectoryPath +} |