From d3a9abc00455bdd129d273073f9e5cadde2d1df8 Mon Sep 17 00:00:00 2001 From: toki Date: Tue, 3 Mar 2026 17:36:12 +0900 Subject: [PATCH] =?UTF-8?q?iOS=20Ad=20Hoc=20=EB=8B=A4=EC=9A=B4=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=20=ED=8E=98=EC=9D=B4=EC=A7=80=20UI=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 글래스모피즘 스타일 적용 및 앱 아이콘, 버전, 신뢰 설정 안내 문구 추가. publish_ios.dart에 APP_NAME, APP_VERSION, APP_ICON_URL 플레이스홀더 교체 추가. Co-Authored-By: Claude Sonnet 4.6 --- assets/template/index.html | 140 +++++++++++++++++++++++-- lib/oto/commands/util/publish_ios.dart | 6 +- 2 files changed, 137 insertions(+), 9 deletions(-) diff --git a/assets/template/index.html b/assets/template/index.html index a9c945a..75490bc 100644 --- a/assets/template/index.html +++ b/assets/template/index.html @@ -1,15 +1,139 @@ - - + + - - + + + APP_NAME + - App Download +
+
+ APP_NAME +
+
APP_NAME
+
Version APP_VERSION
+
Ad Hoc
+ + Install on iPhone + +
+
+ iOS 기기에서 접속해 설치하세요.
+ 설치 후 설정 > 일반 > VPN 및 기기 관리에서
+ 개발사를 신뢰해야 앱이 실행됩니다. +
+
- \ No newline at end of file + diff --git a/lib/oto/commands/util/publish_ios.dart b/lib/oto/commands/util/publish_ios.dart index f4b5d54..f7fe2ee 100644 --- a/lib/oto/commands/util/publish_ios.dart +++ b/lib/oto/commands/util/publish_ios.dart @@ -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()) {