mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Fix headless mode (#12960)
This was broken by two things: 1. A merge conflict in the install.sh script leading to bad sh syntax 2. A return removed by accident when we refactored main Release Notes: - N/A
This commit is contained in:
parent
0a13b9ee01
commit
e2cfbc54ad
@ -500,6 +500,7 @@ fn handle_open_request(request: OpenRequest, app_state: Arc<AppState>, cx: &mut
|
||||
let app_state = app_state.clone();
|
||||
cx.spawn(move |cx| handle_cli_connection(connection, app_state, cx))
|
||||
.detach();
|
||||
return;
|
||||
}
|
||||
|
||||
if let Err(e) = init_ui(app_state.clone(), cx) {
|
||||
|
@ -47,7 +47,7 @@ main() {
|
||||
}
|
||||
|
||||
linux() {
|
||||
if [[ -n "${ZED_BUNDLE_PATH:-}" ]]; then
|
||||
if [ -n "${ZED_BUNDLE_PATH:-}" ]; then
|
||||
cp "$ZED_BUNDLE_PATH" "$temp/zed-linux-$arch.tar.gz"
|
||||
else
|
||||
echo "Downloading Zed"
|
||||
|
Loading…
Reference in New Issue
Block a user