feat(desktop): stamp dev icons with branch labels

This commit is contained in:
Mohamed Boudra
2026-08-19 11:54:55 +02:00
parent 556bd0d36f
commit ca2ee380df
6 changed files with 410 additions and 6 deletions
@@ -1,4 +1,4 @@
export function createElectronSpawnOptions({ env, colorEnv, expoDevUrl }) {
export function createElectronSpawnOptions({ env, colorEnv, expoDevUrl, devBuildLabel }) {
return {
// Electron must stay in the runner's process group. Paseo workspace scripts
// own the terminal process group, so detaching Electron lets it survive a
@@ -8,6 +8,7 @@ export function createElectronSpawnOptions({ env, colorEnv, expoDevUrl }) {
...env,
...colorEnv,
EXPO_DEV_URL: expoDevUrl,
...(devBuildLabel ? { EXPO_PUBLIC_PASEO_DEV_BUILD_LABEL: devBuildLabel } : {}),
},
};
}
+1
View File
@@ -195,6 +195,7 @@ if (!stopping) {
env: process.env,
colorEnv,
expoDevUrl,
devBuildLabel,
}),
);
}