From 5b21fc6cacdb3c962366a896070347e520eab850 Mon Sep 17 00:00:00 2001 From: syui Date: Mon, 8 Dec 2025 15:49:28 +0900 Subject: [PATCH] fix social-app ios host server --- README.md | 5 ++- ios/patching/002-social-app-ios-lib.patch | 9 +++++ ...social-app-ios-splash-license-footer.patch | 40 ++++++++++++++++++- 3 files changed, 51 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5d8ef4a..8ec32d9 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,7 @@ $ curl -sL "syu.is/xrpc/com.atproto.repo.listRecords?repo=${handle}&collection=a ## build -- https://appstoreconnect.apple.com/ -- https://developer.apple.com/account/resources/profiles/list + ```sh # build @@ -82,6 +81,8 @@ $ curl -sL "syu.is/xrpc/com.atproto.repo.listRecords?repo=${handle}&collection=a ./install.zsh --- # social-app ios +# https://appstoreconnect.apple.com/ +# https://developer.apple.com/account/resources/profiles/list ./install.zsh pull;./ios/setup.zsh ./ios/build.zsh ``` diff --git a/ios/patching/002-social-app-ios-lib.patch b/ios/patching/002-social-app-ios-lib.patch index d8dd7a9..cfa2931 100644 --- a/ios/patching/002-social-app-ios-lib.patch +++ b/ios/patching/002-social-app-ios-lib.patch @@ -125,6 +125,15 @@ diff --git a/src/lib/strings/url-helpers.ts b/src/lib/strings/url-helpers.ts index 6088e2806..0f6787a4d 100644 --- a/src/lib/strings/url-helpers.ts +++ b/src/lib/strings/url-helpers.ts +@@ -53,7 +53,7 @@ export function toNiceDomain(url: string): string { + try { + const urlp = new URL(url) + if (`https://${urlp.host}` === BSKY_SERVICE) { +- return 'Bluesky Social' ++ return 'syu.is' + } + return urlp.host ? urlp.host : url + } catch (e) { @@ -338,7 +338,7 @@ export function createProxiedUrl(url: string): string { return url } diff --git a/ios/patching/011-social-app-ios-splash-license-footer.patch b/ios/patching/011-social-app-ios-splash-license-footer.patch index 9a46e83..ade2b21 100644 --- a/ios/patching/011-social-app-ios-splash-license-footer.patch +++ b/ios/patching/011-social-app-ios-splash-license-footer.patch @@ -2,7 +2,24 @@ diff --git a/src/view/com/auth/SplashScreen.tsx b/src/view/com/auth/SplashScreen index 3442d1bdf..dd2d1fdfb 100644 --- a/src/view/com/auth/SplashScreen.tsx +++ b/src/view/com/auth/SplashScreen.tsx -@@ -102,6 +102,17 @@ export const SplashScreen = ({ +@@ -40,16 +40,6 @@ export const SplashScreen = ({ + + + +- +- +- What's up? +- + + + @@ -20,3 +37,24 @@ index 3442d1bdf..dd2d1fdfb 100644 +diff --git a/src/view/com/auth/SplashScreen.web.tsx b/src/view/com/auth/SplashScreen.web.tsx +--- a/src/view/com/auth/SplashScreen.web.tsx ++++ b/src/view/com/auth/SplashScreen.web.tsx +@@ -91,15 +91,6 @@ export const SplashScreen = ({ + {!kawaii && ( + + + + )} +- +- +- What's up? +- + + +