chore: move files around

This commit is contained in:
relikd
2025-12-01 01:03:02 +01:00
parent 38c861442c
commit abdee3b780
29 changed files with 48 additions and 16 deletions

View File

@@ -0,0 +1,17 @@
import Foundation
extension PreviewGenerator {
/// Process meta information about the plugin. Like version and debug flag.
mutating func procFooterInfo() {
self.apply([
"SrcAppName": "QLAppBundle",
"SrcLinkUrl": "https://github.com/relikd/QLAppBundle",
"SrcLinkName": "relikd/QLAppBundle",
"SrcVersion": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "",
"SrcBuildVer": Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "",
])
#if DEBUG
self.data["SrcAppName"]! += " (debug)"
#endif
}
}