Add Version Number to Logging Export

This commit is contained in:
Leon Böttger committed 2025-06-03 09:14:32 +02:00
1 parent 90e3e23905
commit f416f8f098
3 files changed
+10 -7

No files matched your search

+4 -4
View File
@@ -825,8 +825,8 @@
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SHARED_BUILD = 42;
SHARED_VERSION = 1.9.3;
SHARED_BUILD = 43;
SHARED_VERSION = 1.9.4;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
@@ -884,8 +884,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SHARED_BUILD = 42;
SHARED_VERSION = 1.9.3;
SHARED_BUILD = 43;
SHARED_VERSION = 1.9.4;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
@@ -51,8 +51,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "d72aed98f8253ec1aa9ea1141e28150f408cf17f",
"version" : "1.29.0"
"revision" : "102a647b573f60f73afdce5613a51d71349fe507",
"version" : "1.30.0"
}
},
{
+4 -1
View File
@@ -136,7 +136,10 @@ struct LargeAppIconView<Content: View>: View {
func sendLoggingString() {
if let url = LogManager.sharedInstance.logFileURL {
sendEmailWithAttachment(fileURL: url, recipients: ["quickdrop@leonboettger.com"], subject: "QuickDrop Log")
let appVersion = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown"
sendEmailWithAttachment(fileURL: url, recipients: ["quickdrop@leonboettger.com"], subject: "QuickDrop \(appVersion) Log")
}
let logString = LogManager.sharedInstance.getLogString()