Luftweg ueber Gitea: Manifest und Symbole in auslieferung/ ablegen
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>DataMetric360 installieren</title>
|
||||
<style>
|
||||
body { font-family: -apple-system, sans-serif; background: #161b23; color: #eef1f6;
|
||||
margin: 0; display: grid; place-items: center; min-height: 100vh; }
|
||||
main { text-align: center; padding: 2rem; }
|
||||
h1 { font-weight: 300; font-size: 1.5rem; }
|
||||
a { display: inline-block; margin-top: 1.5rem; padding: 0.9rem 2rem; border-radius: 999px;
|
||||
background: #eef1f6; color: #161b23; text-decoration: none; font-size: 1.1rem; }
|
||||
p { color: #8a94a3; font-size: 0.9rem; line-height: 1.5; }
|
||||
</style>
|
||||
<main>
|
||||
<h1>DataMetric360</h1>
|
||||
<p>Version 1.0</p>
|
||||
<a href="itms-services://?action=download-manifest&url=https://gitea.nothaft.cloud/paul/audi-app/raw/branch/main/companion-app/auslieferung/manifest.plist">Installieren</a>
|
||||
<p>In Safari oeffnen. Nach dem Antippen fragt iOS einmal nach,<br>danach erscheint die App auf dem Startbildschirm.</p>
|
||||
</main>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>items</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>assets</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>kind</key><string>software-package</string>
|
||||
<key>url</key><string>https://gitea.nothaft.cloud/paul/audi-app/raw/branch/main/companion-app/auslieferung/App.ipa</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>kind</key><string>display-image</string>
|
||||
<key>url</key><string>https://gitea.nothaft.cloud/paul/audi-app/raw/branch/main/companion-app/auslieferung/symbol-192.png</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>kind</key><string>full-size-image</string>
|
||||
<key>url</key><string>https://gitea.nothaft.cloud/paul/audi-app/raw/branch/main/companion-app/auslieferung/symbol-512.png</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>bundle-identifier</key><string>app.datametric360</string>
|
||||
<key>bundle-version</key><string>1.0</string>
|
||||
<key>kind</key><string>software</string>
|
||||
<key>title</key><string>DataMetric360</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -22,8 +22,11 @@
|
||||
set -euo pipefail
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Aufruf: bash scripts/ios-luftweg.sh <basis-url>" >&2
|
||||
echo "Aufruf: bash scripts/ios-luftweg.sh <basis-url> [zielordner]" >&2
|
||||
echo "Beispiel: bash scripts/ios-luftweg.sh https://mein-mac.tailnetname.ts.net" >&2
|
||||
echo "Gitea: bash scripts/ios-luftweg.sh \\" >&2
|
||||
echo " https://gitea.nothaft.cloud/paul/audi-app/raw/branch/main/companion-app/auslieferung \\" >&2
|
||||
echo " auslieferung" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -37,7 +40,9 @@ fi
|
||||
HIER="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
APP="$(dirname "$HIER")"
|
||||
IPA="$APP/auslieferung/App.ipa"
|
||||
ZIEL="$APP/ios/build/luftweg"
|
||||
# Zweites Argument erlaubt es, direkt in den versionierten Ordner zu schreiben -
|
||||
# noetig, wenn nicht ein eigener Host ausliefert, sondern das Repository selbst.
|
||||
ZIEL="$APP/${2:-ios/build/luftweg}"
|
||||
|
||||
[ -f "$IPA" ] || { echo "FEHLER: $IPA fehlt - erst scripts/ios-signieren.sh laufen lassen." >&2; exit 1; }
|
||||
|
||||
@@ -50,9 +55,8 @@ PLIST="$(find "$AUSPACK/Payload" -maxdepth 2 -name Info.plist | head -1)"
|
||||
KENNUNG="$(/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" "$PLIST")"
|
||||
VERSION="$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "$PLIST")"
|
||||
|
||||
rm -rf "$ZIEL"
|
||||
mkdir -p "$ZIEL"
|
||||
cp "$IPA" "$ZIEL/App.ipa"
|
||||
[ "$IPA" -ef "$ZIEL/App.ipa" ] || cp "$IPA" "$ZIEL/App.ipa"
|
||||
cp "$APP/public/symbol-192.png" "$ZIEL/symbol-192.png"
|
||||
cp "$APP/public/symbol-512.png" "$ZIEL/symbol-512.png"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user