Skip to content

Commit 6bab67d

Browse files
committed
fix(build): restore ai default cast-agent + Linux BUNDLE_ID
Two more release build fixes: ① crates/ai/Cargo.toml: restore default = ["cast-agent"] Removing the default broke Windows and native Linux builds. When ai is compiled without the cast-agent feature active (e.g. for tests) the dep:cast_agent optional dep is not linked, so any caller using ai::cast_agent:: fails to resolve the module. Restoring the default keeps cast_agent always linked for native targets. The WASM mio failure is addressed separately by running the release without build_web until proper wasm cfg gating lands. ② script/linux/bundle: restore missing BUNDLE_ID assignment The earlier fi-restoration edit accidentally omitted the BUNDLE_ID="dev.castcodes.$APP_NAME" line that was present before our edits. Without it, bundle_install and bundle_appimage cannot find the .desktop file for the oss channel.
1 parent 292638e commit 6bab67d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

crates/ai/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish.workspace = true
66
license.workspace = true
77

88
[features]
9-
default = []
9+
default = ["cast-agent"]
1010
jemalloc = []
1111
local_fs = []
1212
test-util = []

script/linux/bundle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ fi
190190

191191
EXECUTABLE_PATH="$CARGO_TARGET_OUTPUT_DIR/$WARP_BIN"
192192
DEBUG_EXECUTABLE_PATH="$EXECUTABLE_PATH.debug"
193+
BUNDLE_ID="dev.castcodes.$APP_NAME"
193194

194195
# Note that this variable must be set (and exported!) before we compile the
195196
# binary, as it is read at compile time by Linux autoupdate logic (to know the

0 commit comments

Comments
 (0)