The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 25, 16:00 UTC
fix?
Julius Marminge committed
Mar 1, 2026 at 18:33 UTC
1419bf3989adbf9ea4a3e008ad6f85ee17c29755
2 files changed
+14
-5
.github/workflows/release.yml
+2
-2
@@ -59,7 +59,7 @@ jobs:
59
target: dmg
60
arch: arm64
61
- label: macOS x64
62
- runner: macos-13
62
+ runner: macos-15-intel
63
platform: mac
64
target: dmg
65
arch: x64
@@ -150,7 +150,7 @@ jobs:
150
echo "Signing disabled for ${{ matrix.platform }}."
151
fi
152
153
- bun run dist:desktop:artifact -- "${args[@]}" --verbose
153
+ bun run dist:desktop:artifact -- "${args[@]}"
154
155
- name: Upload build artifacts
156
uses: actions/upload-artifact@v4
scripts/build-desktop-artifact.ts
+12
-3
@@ -140,7 +140,7 @@ const BuildEnvConfig = Config.all({
140
141
const resolveBooleanFlag = (flag: Option.Option<boolean>, envValue: boolean) =>
142
Option.getOrElse(Option.filter(flag, Boolean), () => envValue);
143
-const mergeOptions = <A,>(a: Option.Option<A>, b: Option.Option<A>, defaultValue: A) =>
143
+const mergeOptions = <A>(a: Option.Option<A>, b: Option.Option<A>, defaultValue: A) =>
144
Option.getOrElse(a, () => Option.getOrElse(b, () => defaultValue));
145
146
const resolveBuildOptions = Effect.fn(function* (input: BuildCliInput) {
@@ -195,7 +195,6 @@ const runCommand = Effect.fn(function* (command: ChildProcess.Command) {
195
if (exitCode !== 0) {
196
return yield* new BuildScriptError({
197
message: "Command exited with non-zero exit code",
198
- cause: command,
198
});
199
}
200
});
@@ -521,8 +520,18 @@ const buildDesktopArtifact = Effect.fn(function* (options: ResolvedBuildOptions)
520
const buildEnv: NodeJS.ProcessEnv = {
521
...process.env,
522
};
523
+ for (const [key, value] of Object.entries(buildEnv)) {
524
+ if (value === "") {
525
+ delete buildEnv[key];
526
+ }
527
+ }
528
if (!options.signed) {
529
buildEnv.CSC_IDENTITY_AUTO_DISCOVERY = "false";
530
+ delete buildEnv.CSC_LINK;
531
+ delete buildEnv.CSC_KEY_PASSWORD;
532
+ delete buildEnv.APPLE_API_KEY;
533
+ delete buildEnv.APPLE_API_KEY_ID;
534
+ delete buildEnv.APPLE_API_ISSUER;
535
}
536
537
yield* Effect.log(
@@ -533,7 +542,7 @@ const buildDesktopArtifact = Effect.fn(function* (options: ResolvedBuildOptions)
542
cwd: stageAppDir,
543
env: buildEnv,
544
...commandOutputOptions(options.verbose),
536
- })`bunx --bun electron-builder ${platformConfig.cliFlag} ${options.target} --${options.arch} --publish never`,
545
+ })`bunx electron-builder ${platformConfig.cliFlag} ${options.target} --${options.arch} --publish never`,
546
);
547
548
const stageDistDir = path.join(stageAppDir, "dist");