iOS Ad Hoc 다운로드 페이지 UI 개선
글래스모피즘 스타일 적용 및 앱 아이콘, 버전, 신뢰 설정 안내 문구 추가. publish_ios.dart에 APP_NAME, APP_VERSION, APP_ICON_URL 플레이스홀더 교체 추가. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
90053c265f
commit
d3a9abc004
2 changed files with 137 additions and 9 deletions
|
|
@ -1,15 +1,139 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title></title>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
||||
<title>APP_NAME</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
|
||||
<link rel="stylesheet" href=""/>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
|
||||
background: linear-gradient(160deg, #1c1c2e 0%, #16213e 50%, #0f3460 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
backdrop-filter: blur(24px);
|
||||
-webkit-backdrop-filter: blur(24px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 28px;
|
||||
padding: 48px 36px;
|
||||
text-align: center;
|
||||
max-width: 360px;
|
||||
width: 90%;
|
||||
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.app-icon {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 22px;
|
||||
margin: 0 auto 20px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
|
||||
background: linear-gradient(135deg, #667eea, #764ba2);
|
||||
}
|
||||
|
||||
.app-icon img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.app-name {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
letter-spacing: -0.5px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.app-version {
|
||||
font-size: 14px;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-block;
|
||||
background: rgba(255, 149, 0, 0.2);
|
||||
border: 1px solid rgba(255, 149, 0, 0.4);
|
||||
color: #ff9500;
|
||||
border-radius: 20px;
|
||||
padding: 4px 14px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.8px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.download-btn {
|
||||
display: block;
|
||||
background: linear-gradient(135deg, #007AFF 0%, #0056d2 100%);
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
border-radius: 14px;
|
||||
padding: 16px 28px;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.2px;
|
||||
box-shadow: 0 8px 24px rgba(0, 122, 255, 0.45);
|
||||
transition: opacity 0.15s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.download-btn:active {
|
||||
opacity: 0.85;
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: 40px;
|
||||
height: 1px;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
margin: 24px auto;
|
||||
}
|
||||
|
||||
.notice {
|
||||
font-size: 12px;
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.notice strong {
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a href="itms-services://?action=download-manifest&url=MENIFEST_URL">App Download</a>
|
||||
<div class="card">
|
||||
<div class="app-icon">
|
||||
<img src="APP_ICON_URL" alt="APP_NAME"/>
|
||||
</div>
|
||||
<div class="app-name">APP_NAME</div>
|
||||
<div class="app-version">Version APP_VERSION</div>
|
||||
<div class="badge">Ad Hoc</div>
|
||||
<a class="download-btn" href="itms-services://?action=download-manifest&url=MENIFEST_URL">
|
||||
Install on iPhone
|
||||
</a>
|
||||
<div class="divider"></div>
|
||||
<div class="notice">
|
||||
iOS 기기에서 접속해 설치하세요.<br/>
|
||||
설치 후 <strong>설정 > 일반 > VPN 및 기기 관리</strong>에서<br/>
|
||||
개발사를 신뢰해야 앱이 실행됩니다.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,11 @@ class PublishiOS extends Command {
|
|||
var templatePath = path.normalize(
|
||||
'${path.dirname(Platform.script.toFilePath())}/../assets/template');
|
||||
var indexContent = await File('$templatePath/index.html').readAsString();
|
||||
indexContent = indexContent.replaceAll("MENIFEST_URL", menifestURL);
|
||||
indexContent = indexContent
|
||||
.replaceAll('MENIFEST_URL', menifestURL)
|
||||
.replaceAll('APP_NAME', data.appName)
|
||||
.replaceAll('APP_VERSION', data.version)
|
||||
.replaceAll('APP_ICON_URL', data.displayImageURL);
|
||||
|
||||
var destinationDir = Directory(destinationPath);
|
||||
if (!destinationDir.existsSync()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue