From 23fc08c8798d7c325a72fbee4175813efe4fe70f Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Fri, 29 Nov 2024 11:28:01 +0000 Subject: RtlSdrIQ: can read samples from rtlsdr and dump those to file --- Utils/PathUtils.swift | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Utils/PathUtils.swift (limited to 'Utils/PathUtils.swift') 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 +} -- cgit v1.2.3