fix(mobile): bump Android versionCode to 7 for 0.0.27 (#8249)
* fix(mobile): bump Android versionCode to 7 for 0.0.27 Android 0.0.26 shipped with versionCode 6. Align Android on marketing version 0.0.27 with a higher versionCode so side-loaded upgrades install. * test(mobile): expect direct cmd syntax for live Windows resume Resume commands are typed into the host terminal; when that shell is already cmd, wrap with cmd /d /s /c is wrong. Align the mobile unit test with shared buildAiVaultResumeShellCommand behavior.
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@
|
||||
"allowBackup": false,
|
||||
"permissions": ["RECORD_AUDIO", "MODIFY_AUDIO_SETTINGS"],
|
||||
"package": "com.stably.orca.mobile",
|
||||
"versionCode": 6
|
||||
"versionCode": 7
|
||||
},
|
||||
"plugins": [
|
||||
"expo-router",
|
||||
|
||||
@@ -76,7 +76,9 @@ describe('buildMobileAiVaultResumeCommand', () => {
|
||||
).toBe("cd '/Users/ada/repo' && omp --resume '/Users/ada/.omp/agent/sessions/repo/sess.jsonl'")
|
||||
})
|
||||
|
||||
it('uses cmd wrapping when the host Windows terminal is configured as cmd', () => {
|
||||
it('uses direct cmd syntax when the host Windows terminal is already cmd', () => {
|
||||
// Why: resume text is typed into the live host tab. Nested `cmd /d /s /c`
|
||||
// wrappers break interactive cmd quoting (see buildAiVaultResumeShellCommand).
|
||||
const command = buildMobileAiVaultResumeCommand({
|
||||
session: session({
|
||||
agent: 'codex',
|
||||
@@ -87,10 +89,9 @@ describe('buildMobileAiVaultResumeCommand', () => {
|
||||
hostPlatform: 'win32',
|
||||
hostTerminalWindowsShell: 'cmd.exe'
|
||||
})
|
||||
expect(command).toContain('cmd /d /s /c')
|
||||
expect(command).toContain('cd /d ""C:\\repo app""')
|
||||
expect(command).toContain('set ""CODEX_HOME=C:\\Users\\Ada\\.codex""')
|
||||
expect(command).toContain('codex resume ""codex-1""')
|
||||
expect(command).toBe(
|
||||
'cd /d "C:\\repo app" && set "CODEX_HOME=C:\\Users\\Ada\\.codex" && codex resume "codex-1"'
|
||||
)
|
||||
})
|
||||
|
||||
it('uses POSIX command construction and converts Codex home for WSL targets', () => {
|
||||
|
||||
Reference in New Issue
Block a user