Update to T3 Code 0.1.10.
+The built-in terminal now works on hosts with an older glibc, such as + Ubuntu 24.04, Debian 13 and Fedora 42.
+{previewStreamHostSetupMessage(hostSetup)}
@@ -162,10 +162,10 @@ index e32e8f76f1..28578f27cd 100644 Try again diff --git a/packages/client-runtime/src/preview/serverBrowserStream.ts b/packages/client-runtime/src/preview/serverBrowserStream.ts -index 617c1d1842..48cde9433b 100644 +index 75b45c57e7..b915e20085 100644 --- a/packages/client-runtime/src/preview/serverBrowserStream.ts +++ b/packages/client-runtime/src/preview/serverBrowserStream.ts -@@ -463,7 +463,13 @@ const decodeHostSetup = (reason: string): PreviewStreamHostSetup => { +@@ -464,7 +464,13 @@ const decodeHostSetup = (reason: string): PreviewStreamHostSetup => { return { need: "sandbox", command: "sudo npx t3 browser setup" }; }; @@ -182,7 +182,7 @@ index 617c1d1842..48cde9433b 100644 : "This server's host is missing libraries its browser needs. Run this once on the host, then try again:"; +}; diff --git a/packages/contracts/src/preview.ts b/packages/contracts/src/preview.ts -index 1790a4797d..5c80cad2be 100644 +index 9216899834..fd930b1fe7 100644 --- a/packages/contracts/src/preview.ts +++ b/packages/contracts/src/preview.ts @@ -143,6 +143,7 @@ export type PreviewRuntime = typeof PreviewRuntime.Type; diff --git a/patches/0011-flatpak-legacy-database.patch b/patches/0011-flatpak-legacy-database.patch index a9ed418..77b3d88 100644 --- a/patches/0011-flatpak-legacy-database.patch +++ b/patches/0011-flatpak-legacy-database.patch @@ -1,8 +1,8 @@ diff --git a/apps/desktop/src/ipc/DesktopIpcHandlers.ts b/apps/desktop/src/ipc/DesktopIpcHandlers.ts -index 4808d16401..dc702af8f8 100644 +index d694fcffda..8db7250c73 100644 --- a/apps/desktop/src/ipc/DesktopIpcHandlers.ts +++ b/apps/desktop/src/ipc/DesktopIpcHandlers.ts -@@ -85,6 +85,12 @@ import { +@@ -88,6 +88,12 @@ import { addCliCommandToPath, } from "./methods/cliCommand.ts"; @@ -15,7 +15,7 @@ index 4808d16401..dc702af8f8 100644 export const installDesktopIpcHandlers = Effect.fn("desktop.ipc.installHandlers")(function* () { const ipc = yield* DesktopIpc.DesktopIpc; yield* installNotificationBadge(); -@@ -94,6 +100,9 @@ export const installDesktopIpcHandlers = Effect.fn("desktop.ipc.installHandlers" +@@ -97,6 +103,9 @@ export const installDesktopIpcHandlers = Effect.fn("desktop.ipc.installHandlers" yield* ipc.handle(AppActivationIpc.complete); yield* ipc.handle(WebLinksIpc.setReady); @@ -26,14 +26,13 @@ index 4808d16401..dc702af8f8 100644 yield* ipc.handle(completeLegacyLocalStorage); yield* ipc.handleSync(getAppBranding); diff --git a/apps/desktop/src/ipc/channels.ts b/apps/desktop/src/ipc/channels.ts -index dceb96e655..55da5a9d8c 100644 +index d0dcdda19e..3019fd1a5d 100644 --- a/apps/desktop/src/ipc/channels.ts +++ b/apps/desktop/src/ipc/channels.ts -@@ -133,3 +133,7 @@ export const RECEIVE_PROVIDER_AUTH_CALLBACK_CHANNEL = "desktop:receive-provider- - export const CANCEL_PROVIDER_AUTH_CALLBACK_CHANNEL = "desktop:cancel-provider-auth-callback"; - export const TAKE_LEGACY_LOCAL_STORAGE_CHANNEL = "desktop:take-legacy-local-storage"; +@@ -143,3 +143,6 @@ export const TAKE_LEGACY_LOCAL_STORAGE_CHANNEL = "desktop:take-legacy-local-stor export const COMPLETE_LEGACY_LOCAL_STORAGE_CHANNEL = "desktop:complete-legacy-local-storage"; -+ + + export const RESTART_AUDIO_SERVICE_CHANNEL = "desktop:restart-audio-service"; +export const LEGACY_DATABASE_SUPPORTED_CHANNEL = "desktop:legacy-database-supported"; +export const LEGACY_DATABASE_BYTES_CHANNEL = "desktop:legacy-database-bytes"; +export const LEGACY_DATABASE_REMOVE_CHANNEL = "desktop:legacy-database-remove"; @@ -98,10 +97,10 @@ index 0000000000..277e1908ca + }), +}); diff --git a/apps/desktop/src/preload.ts b/apps/desktop/src/preload.ts -index 045d6dba29..e19a6c373d 100644 +index 26daa80b0c..da11ebbd0a 100644 --- a/apps/desktop/src/preload.ts +++ b/apps/desktop/src/preload.ts -@@ -299,6 +299,14 @@ contextBridge.exposeInMainWorld("desktopBridge", { +@@ -333,6 +333,14 @@ contextBridge.exposeInMainWorld("desktopBridge", { downloadUpdate: () => ipcRenderer.invoke(IpcChannels.UPDATE_DOWNLOAD_CHANNEL), installUpdate: (expectedVersion) => ipcRenderer.invoke(IpcChannels.UPDATE_INSTALL_CHANNEL, expectedVersion), @@ -251,10 +250,10 @@ index b4668a07f2..ef2f2a38c0 100644 + ); +} diff --git a/packages/contracts/src/ipc.ts b/packages/contracts/src/ipc.ts -index 39f96754a6..3632f9fd6b 100644 +index 25339cb321..cd6cbdc39e 100644 --- a/packages/contracts/src/ipc.ts +++ b/packages/contracts/src/ipc.ts -@@ -1143,6 +1143,12 @@ export interface DesktopBridge { +@@ -1175,6 +1175,12 @@ export interface DesktopBridge { /** With a version, installs only that downloaded build. */ installUpdate: (expectedVersion?: string) => Promise