Showing the changes to scripts (2 of 13 files). Show all
Unified · Split
| @@ -244,22 +244,19 @@ it("selects a reachable LAN IPv4 address", () => { · 243 unmodified lines | |||
| 244 | }); | 244 | }); |
| 245 | 245 | ||
| 246 | it("maps capture scenes to the real application routes", () => { | 246 | it("maps capture scenes to the real application routes", () => { |
| 247 | assert.equal(showcaseSceneUrl("threads", "environment-1"), "t3code-dev://"); | 247 | assert.equal(showcaseSceneUrl("threads", "environment-1"), "t3code://"); |
| 248 | assert.equal( | 248 | assert.equal(showcaseSceneUrl("environments", "environment-1"), "t3code://settings/environments"); |
| 249 | showcaseSceneUrl("environments", "environment-1"), | ||
| 250 | "t3code-dev://settings/environments", | ||
| 251 | ); | ||
| 252 | assert.equal( | 249 | assert.equal( |
| 253 | showcaseSceneUrl("thread", "environment-1"), | 250 | showcaseSceneUrl("thread", "environment-1"), |
| 254 | "t3code-dev://threads/environment-1/remote-command-center", | 251 | "t3code://threads/environment-1/remote-command-center", |
| 255 | ); | 252 | ); |
| 256 | assert.equal( | 253 | assert.equal( |
| 257 | showcaseSceneUrl("terminal", "environment-1"), | 254 | 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", |
| 259 | ); | 256 | ); |
| 260 | assert.equal( | 257 | assert.equal( |
| 261 | showcaseSceneUrl("review", "environment-1"), | 258 | showcaseSceneUrl("review", "environment-1"), |
| 262 | "t3code-dev://threads/environment-1/remote-command-center/review", | 259 | "t3code://threads/environment-1/remote-command-center/review", |
| 263 | ); | 260 | ); |
| 264 | }); | 261 | }); |
| 265 | 262 | ||
| @@ -31,14 +31,14 @@ import { · 30 unmodified lines | |||
| 31 | 31 | ||
| 32 | const REPO_ROOT = NodePath.resolve(NodePath.dirname(NodeURL.fileURLToPath(import.meta.url)), ".."); | 32 | const REPO_ROOT = NodePath.resolve(NodePath.dirname(NodeURL.fileURLToPath(import.meta.url)), ".."); |
| 33 | const MOBILE_ROOT = NodePath.join(REPO_ROOT, "apps/mobile"); | 33 | const MOBILE_ROOT = NodePath.join(REPO_ROOT, "apps/mobile"); |
| 34 | const ANDROID_PACKAGE = "com.t3tools.t3code.dev"; | 34 | const ANDROID_PACKAGE = "com.t3tools.t3code"; |
| 35 | const APP_SCHEME = "t3code-dev"; | 35 | const APP_SCHEME = "t3code"; |
| 36 | const IOS_READY_FILENAME = "T3ShowcaseReadyScene"; | 36 | const IOS_READY_FILENAME = "T3ShowcaseReadyScene"; |
| 37 | const SERVER_HOST = "0.0.0.0"; | 37 | const SERVER_HOST = "0.0.0.0"; |
| 38 | const IOS_SIMULATOR_ARCH = NodeProcess.arch === "arm64" ? "arm64" : "x86_64"; | 38 | const IOS_SIMULATOR_ARCH = NodeProcess.arch === "arm64" ? "arm64" : "x86_64"; |
| 39 | const IOS_APP_PATH = NodePath.join( | 39 | const IOS_APP_PATH = NodePath.join( |
| 40 | MOBILE_ROOT, | 40 | MOBILE_ROOT, |
| 41 | ".showcase/ios-derived-data/Build/Products/Debug-iphonesimulator/T3CodeDev.app", | 41 | ".showcase/ios-derived-data/Build/Products/Debug-iphonesimulator/T3Code.app", |
| 42 | ); | 42 | ); |
| 43 | const ANDROID_APK_PATH = NodePath.join( | 43 | const ANDROID_APK_PATH = NodePath.join( |
| 44 | MOBILE_ROOT, | 44 | MOBILE_ROOT, |
| @@ -58,7 +58,7 @@ const ANDROID_SDK_ROOT = resolveAndroidSdkRoot(NodeProcess.env); · 13 unmodified lines | |||
| 58 | const MOBILE_BUILD_ENV = { | 58 | const MOBILE_BUILD_ENV = { |
| 59 | ...NodeProcess.env, | 59 | ...NodeProcess.env, |
| 60 | ANDROID_HOME: ANDROID_SDK_ROOT, | 60 | ANDROID_HOME: ANDROID_SDK_ROOT, |
| 61 | APP_VARIANT: "development", | 61 | APP_VARIANT: "production", |
| 62 | EXPO_NO_GIT_STATUS: "1", | 62 | EXPO_NO_GIT_STATUS: "1", |
| 63 | JAVA_HOME: | 63 | JAVA_HOME: |
| 64 | NodeProcess.env.JAVA_HOME ?? | 64 | NodeProcess.env.JAVA_HOME ?? |
| @@ -664,9 +664,9 @@ async function buildIos(): Promise<string> { · 599 unmodified lines | |||
| 664 | "xcodebuild", | 664 | "xcodebuild", |
| 665 | [ | 665 | [ |
| 666 | "-workspace", | 666 | "-workspace", |
| 667 | NodePath.join(MOBILE_ROOT, "ios/T3CodeDev.xcworkspace"), | 667 | NodePath.join(MOBILE_ROOT, "ios/T3Code.xcworkspace"), |
| 668 | "-scheme", | 668 | "-scheme", |
| 669 | "T3CodeDev", | 669 | "T3Code", |
| 670 | "-configuration", | 670 | "-configuration", |
| 671 | "Debug", | 671 | "Debug", |
| 672 | "-sdk", | 672 | "-sdk", |