ref: move code around

This commit is contained in:
relikd
2025-10-30 12:09:00 +01:00
parent df438c8581
commit d615ae0844
18 changed files with 822 additions and 799 deletions

11
src/Html+Footer.swift Normal file
View File

@@ -0,0 +1,11 @@
import Foundation
extension HtmlGenerator {
/// Process meta information about the plugin. Like version and debug flag.
mutating func procFooterInfo() {
self.apply([
"BundleShortVersionString": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "",
"BundleVersion": Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "",
])
}
}