ref: html footer
This commit is contained in:
@@ -75,8 +75,9 @@
|
|||||||
__FileName__<br />
|
__FileName__<br />
|
||||||
__FileInfo__<br />
|
__FileInfo__<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -4,6 +4,9 @@ extension HtmlGenerator {
|
|||||||
/// Process meta information about the plugin. Like version and debug flag.
|
/// Process meta information about the plugin. Like version and debug flag.
|
||||||
mutating func procFooterInfo() {
|
mutating func procFooterInfo() {
|
||||||
self.apply([
|
self.apply([
|
||||||
|
"SrcAppName": "QLAppBundle",
|
||||||
|
"SrcLinkUrl": "https://github.com/relikd/QLAppBundle",
|
||||||
|
"SrcLinkName": "relikd/QLAppBundle",
|
||||||
"BundleShortVersionString": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "",
|
"BundleShortVersionString": Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "",
|
||||||
"BundleVersion": Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "",
|
"BundleVersion": Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "",
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -15,8 +15,6 @@ struct HtmlGenerator {
|
|||||||
procAppInfo(plistApp)
|
procAppInfo(plistApp)
|
||||||
procItunesMeta(plistItunes)
|
procItunesMeta(plistItunes)
|
||||||
procProvision(plistProvision, isOSX: meta.isOSX)
|
procProvision(plistProvision, isOSX: meta.isOSX)
|
||||||
|
|
||||||
// Entitlements
|
|
||||||
procEntitlements(meta, plistApp, plistProvision)
|
procEntitlements(meta, plistApp, plistProvision)
|
||||||
procFileInfo(meta.url)
|
procFileInfo(meta.url)
|
||||||
procFooterInfo()
|
procFooterInfo()
|
||||||
|
|||||||
Reference in New Issue
Block a user