feat: initial Swift version
This commit is contained in:
BIN
resources/defaultIcon.png
Normal file
BIN
resources/defaultIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
215
resources/template.html
Normal file
215
resources/template.html
Normal file
@@ -0,0 +1,215 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<style>
|
||||
body {
|
||||
background: #f7f7f7;
|
||||
color: #000;
|
||||
margin: 20px;
|
||||
font: 13px monospace;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.hiddenDiv {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.app img {
|
||||
-webkit-filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.5));
|
||||
filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.5));
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.info .subsection {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.info .list {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.info > .list {
|
||||
display: inline-block;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.floatLeft {
|
||||
float: left;
|
||||
}
|
||||
|
||||
a { color: #aaa; }
|
||||
a:hover { color: #000; }
|
||||
a:visited { color: #aaa; }
|
||||
|
||||
h1 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 14px;
|
||||
margin-top: 4ex;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.expired, .warning {
|
||||
color: darkred;
|
||||
}
|
||||
.expiring {
|
||||
color: #996600;
|
||||
}
|
||||
.valid {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.deviceType {
|
||||
color: #aaa;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
tr {
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
tr:nth-child(odd) {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
.footer {
|
||||
margin-top: 20px;
|
||||
color: #aaa;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background: #323232;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
a { color: #aaa; }
|
||||
a:hover { color: #fff; }
|
||||
a:visited { color: #aaa; }
|
||||
|
||||
.expired, .warning {
|
||||
color: red;
|
||||
}
|
||||
.expiring {
|
||||
color: orange;
|
||||
}
|
||||
.valid {
|
||||
color: lightgreen;
|
||||
}
|
||||
|
||||
tr:nth-child(odd) {
|
||||
background-color: #1e1e1e;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #292929;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="app __AppInfoHidden__">
|
||||
<h1>__AppInfoTitle__</h1>
|
||||
<div class="floatLeft icon"><img alt="App icon" src="data:image/png;base64,__AppIcon__"/></div>
|
||||
<div class="floatLeft info">
|
||||
Name: <strong>__CFBundleName__</strong><br />
|
||||
Version: __CFBundleShortVersionString__ (__CFBundleVersion__)<br />
|
||||
BundleId: __CFBundleIdentifier__<br />
|
||||
<div class="__ExtensionTypeHidden__">
|
||||
Extension type: __ExtensionType__<br />
|
||||
</div>
|
||||
DeviceFamily: __UIDeviceFamily__<br />
|
||||
SDK: __DTSDKName__<br />
|
||||
Minimum OS Version: __MinimumOSVersion__<br />
|
||||
</div>
|
||||
<br class="clear" />
|
||||
<h2>App Transport Security</h2>
|
||||
__AppTransportSecurityFormatted__
|
||||
</div>
|
||||
|
||||
<div class="__ProvisionHidden__">
|
||||
<div class="__AppInfoHidden__">
|
||||
<h2>Provisioning</h2>
|
||||
Profile name: <strong>__ProfileName__</strong><br />
|
||||
</div>
|
||||
<div class="__ProvisionTitleHidden__">
|
||||
<h1><span class="__ExpStatus__">__ProfileName__</span></h1>
|
||||
</div>
|
||||
|
||||
Profile UUID: __ProfileUUID__<br />
|
||||
Profile Type: __ProfilePlatform__ __ProfileType__<br />
|
||||
Team: __TeamName__ (__TeamIds__)<br />
|
||||
Creation date: __CreationDateFormatted__<br />
|
||||
Expiration Date: <strong><span class="__ExpStatus__">__ExpirationDateFormatted__</span></strong><br />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>Entitlements</h2>
|
||||
<div class="__EntitlementsWarningHidden__ warning">
|
||||
<strong>Entitlements extraction failed.</strong>
|
||||
</div>
|
||||
__EntitlementsFormatted__
|
||||
</div>
|
||||
|
||||
<div class="__ProvisionHidden__">
|
||||
<h2>Developer Certificates</h2>
|
||||
__DeveloperCertificatesFormatted__
|
||||
</div>
|
||||
|
||||
<div class="__ProvisionHidden__">
|
||||
<h2>Devices (__ProvisionedDevicesCount__)</h2>
|
||||
__ProvisionedDevicesFormatted__
|
||||
</div>
|
||||
|
||||
<div class="__iTunesHidden__">
|
||||
<h2>iTunes Metadata</h2>
|
||||
iTunesId: __iTunesId__<br />
|
||||
Title: __iTunesName__<br />
|
||||
Genres: __iTunesGenres__<br />
|
||||
Released: __iTunesReleaseDate__<br />
|
||||
<br />
|
||||
AppleId: __iTunesAppleId__<br />
|
||||
Purchased: __iTunesPurchaseDate__<br />
|
||||
Price: __iTunesPrice__<br />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2>File info</h2>
|
||||
__FileName__<br />
|
||||
__FileInfo__<br />
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>ProvisionQL v__BundleShortVersionString__ (__BundleVersion__) __DEBUG__ (<a href="https://github.com/ealeksandrov/ProvisionQL">Fork on GitHub</a>)</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user