History

fix(mobile): restore iOS Threads branding (#4862)

Alex committed 3 months ago

Commit cb293fe1 parent 1d694dc13 files · +174 −24Browse files

Showing the changes to scripts (2 of 13 files). Show all

Unified · Split

2 files
  1. scripts/mobile-showcase.test.ts +5 −8
  2. scripts/mobile-showcase.ts +6 −6
scripts/mobile-showcase.test.ts+5−8
@@ -244,22 +244,19 @@ it("selects a reachable LAN IPv4 address", () => { · 243 unmodified lines
244244 });
245245
246246 it("maps capture scenes to the real application routes", () => {
247− assert.equal(showcaseSceneUrl("threads", "environment-1"), "t3code-dev://");
248− assert.equal(
249− showcaseSceneUrl("environments", "environment-1"),
250− "t3code-dev://settings/environments",
251− );
247+ assert.equal(showcaseSceneUrl("threads", "environment-1"), "t3code://");
248+ assert.equal(showcaseSceneUrl("environments", "environment-1"), "t3code://settings/environments");
252249 assert.equal(
253250 showcaseSceneUrl("thread", "environment-1"),
254− "t3code-dev://threads/environment-1/remote-command-center",
251+ "t3code://threads/environment-1/remote-command-center",
255252 );
256253 assert.equal(
257254 showcaseSceneUrl("terminal", "environment-1"),
258− "t3code-dev://threads/environment-1/remote-command-center/terminal?terminalId=term-1",
255+ "t3code://threads/environment-1/remote-command-center/terminal?terminalId=term-1",
259256 );
260257 assert.equal(
261258 showcaseSceneUrl("review", "environment-1"),
262− "t3code-dev://threads/environment-1/remote-command-center/review",
259+ "t3code://threads/environment-1/remote-command-center/review",
263260 );
264261 });
265262
scripts/mobile-showcase.ts+6−6
@@ -31,14 +31,14 @@ import { · 30 unmodified lines
3131
3232 const REPO_ROOT = NodePath.resolve(NodePath.dirname(NodeURL.fileURLToPath(import.meta.url)), "..");
3333 const MOBILE_ROOT = NodePath.join(REPO_ROOT, "apps/mobile");
34−const ANDROID_PACKAGE = "com.t3tools.t3code.dev";
35−const APP_SCHEME = "t3code-dev";
34+const ANDROID_PACKAGE = "com.t3tools.t3code";
35+const APP_SCHEME = "t3code";
3636 const IOS_READY_FILENAME = "T3ShowcaseReadyScene";
3737 const SERVER_HOST = "0.0.0.0";
3838 const IOS_SIMULATOR_ARCH = NodeProcess.arch === "arm64" ? "arm64" : "x86_64";
3939 const IOS_APP_PATH = NodePath.join(
4040 MOBILE_ROOT,
41− ".showcase/ios-derived-data/Build/Products/Debug-iphonesimulator/T3CodeDev.app",
41+ ".showcase/ios-derived-data/Build/Products/Debug-iphonesimulator/T3Code.app",
4242 );
4343 const ANDROID_APK_PATH = NodePath.join(
4444 MOBILE_ROOT,
@@ -58,7 +58,7 @@ const ANDROID_SDK_ROOT = resolveAndroidSdkRoot(NodeProcess.env); · 13 unmodified lines
5858 const MOBILE_BUILD_ENV = {
5959 ...NodeProcess.env,
6060 ANDROID_HOME: ANDROID_SDK_ROOT,
61− APP_VARIANT: "development",
61+ APP_VARIANT: "production",
6262 EXPO_NO_GIT_STATUS: "1",
6363 JAVA_HOME:
6464 NodeProcess.env.JAVA_HOME ??
@@ -664,9 +664,9 @@ async function buildIos(): Promise<string> { · 599 unmodified lines
664664 "xcodebuild",
665665 [
666666 "-workspace",
667− NodePath.join(MOBILE_ROOT, "ios/T3CodeDev.xcworkspace"),
667+ NodePath.join(MOBILE_ROOT, "ios/T3Code.xcworkspace"),
668668 "-scheme",
669− "T3CodeDev",
669+ "T3Code",
670670 "-configuration",
671671 "Debug",
672672 "-sdk",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t