ref: html footer
This commit is contained in:
@@ -75,8 +75,9 @@
|
||||
__FileName__<br />
|
||||
__FileInfo__<br />
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<p>QLAppBundle v__BundleShortVersionString__ (__BundleVersion__) (Github: <a href="https://github.com/relikd/QLAppBundle">relikd/QLAppBundle</a>)</p>
|
||||
<p>__SrcAppName__ v__BundleShortVersionString__ (__BundleVersion__) (Github: <a href="__SrcLinkUrl__">__SrcLinkName__</a>)</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,6 +4,9 @@ extension HtmlGenerator {
|
||||
/// 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",
|
||||
"BundleShortVersionString": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "",
|
||||
"BundleVersion": Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "",
|
||||
])
|
||||
|
||||
@@ -15,8 +15,6 @@ struct HtmlGenerator {
|
||||
procAppInfo(plistApp)
|
||||
procItunesMeta(plistItunes)
|
||||
procProvision(plistProvision, isOSX: meta.isOSX)
|
||||
|
||||
// Entitlements
|
||||
procEntitlements(meta, plistApp, plistProvision)
|
||||
procFileInfo(meta.url)
|
||||
procFooterInfo()
|
||||
|
||||
Reference in New Issue
Block a user