Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4ae2fa2
WIP: suppress isolated hot photosites in the raw mosaic (#820)
PiMinusMax Oct 10, 2026
ac38b84
WIP: hot pixel suppression off by default (LIGHTCRAFT_HOT_PIXELS=1 tu…
PiMinusMax Oct 11, 2026
ace4526
#1345: mosaic outlier filter: cache key no longer names the #858 comp…
PiMinusMax Oct 12, 2026
03b957d
#1345: mosaic outlier filter: fixed thresholds (no LIGHTCRAFT_HP_K / …
PiMinusMax Oct 12, 2026
92fdc0f
`Detail::nr_outliers` replaces single outlier photosites in the raw m…
PiMinusMax Oct 13, 2026
7c0a63c
Port storytold/lightcraft#1350 to the fork: fill new RawImage fields,…
emmertex Oct 17, 2026
1a6d8ed
Port #1350: keep LF line endings in parity checklist
emmertex Oct 17, 2026
814b787
Show Fujifilm film-simulation settings from the MakerNote.
MohammadTeimori Oct 12, 2026
f408904
Show Fujifilm highlight and shadow half steps.
MohammadTeimori Oct 12, 2026
b186d00
Port storytold/lightcraft#1209 to the fork: lcc crate names; the film…
emmertex Oct 17, 2026
ca4c7e3
KEY-TOGGLEZOOM: hold Space over a tool to pan and click-zoom (#1895)
helgehelge123 Oct 16, 2026
448d88d
Port storytold/lightcraft#2065 to the fork: lcc names; Crop is left o…
emmertex Oct 17, 2026
f612246
KEYC-RATING: Shift+P picks and advances in every view; Presets loses …
bitshiftza Oct 14, 2026
03d742a
Port storytold/lightcraft#1822 to the fork: Classic presets column an…
emmertex Oct 17, 2026
365dc8e
Port storytold/lightcraft#1917 as regression tests only: backslash sh…
marcoarnulfo Oct 15, 2026
530c3b7
LR-CROP-ASPECT: tests for saved, named and hidden crop aspect ratios …
switch87 Oct 15, 2026
3856e90
LR-CROP-ASPECT: crop.saveAspect, deleteAspect, moveAspect, hideAspect…
switch87 Oct 15, 2026
0401eeb
LR-CROP-ASPECT: headless tests for saved ratios in the Crop panel's a…
switch87 Oct 15, 2026
fa49841
LR-CROP-ASPECT: the Crop panel's aspect menu lists, saves and edits y…
switch87 Oct 15, 2026
67172d1
Port storytold/lightcraft#1856 to the fork: lcc names
emmertex Oct 17, 2026
075d3db
LR-PRE-PANEL: starred presets are listed first in a Favorites group, …
marcoarnulfo Oct 16, 2026
8792f35
Port storytold/lightcraft#2014 to the fork: the Favorites group uses …
emmertex Oct 17, 2026
a471ee9
LR-MASK-CURVE: masks carry a local Curve, rendered on the CPU
helgehelge123 Oct 16, 2026
040f863
LR-MASK-CURVE: the GPU kernel draws the masks' local Curves
helgehelge123 Oct 16, 2026
7845bb9
LR-MASK-CURVE: the point-curve commands take a mask
helgehelge123 Oct 17, 2026
244ace4
LR-MASK-CURVE: a Curve flyout in the mask's adjustments
helgehelge123 Oct 17, 2026
a6e822b
Port storytold/lightcraft#2111 to the fork: the mask Curve reuses the…
emmertex Oct 17, 2026
6c4864f
gpu: renders queue for device memory; out of memory never retires the…
bogusyogi Oct 15, 2026
3e074d7
GPU: a lost device is not polled again, and a poll that panics fails …
leejun Oct 16, 2026
84358a4
Port storytold/lightcraft#1848 and #1984 to the fork: lcc names in th…
emmertex Oct 17, 2026
60bba5c
Control port: require a per-run token before any request (auth)
LochLogic Oct 16, 2026
3cc646e
Control port: serve_stream reads and writes through the one stream (n…
LochLogic Oct 16, 2026
0944015
Port storytold/lightcraft#1970 to the fork: <PREFIX>_CONTROL_TOKEN th…
emmertex Oct 17, 2026
efa53fa
Parity checklist: Tier 2 bundle notes (GPU memory and lost devices, F…
emmertex Oct 17, 2026
9024370
cargo fmt
emmertex Oct 17, 2026
cab398c
Accessibility test: the fork's tool strip names Presets without the S…
emmertex Oct 17, 2026
0603362
Translations of the Tier 2 strings (Remove Hot Pixels, Film recipe, C…
emmertex Oct 17, 2026
3388076
Merge origin/main (fork #254) into the Tier 2 bundle: the token-check…
emmertex Oct 17, 2026
aa0cf98
Tier 2 bundle: What's New entries in their own files
emmertex Oct 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ sha2 = "0.10"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
log = "0.4"
# the control port token (`apps/app`)
getrandom = "0.3"
rayon = "1"
proptest = "1"
bytemuck = { version = "1", features = ["derive"] }
Expand Down
2 changes: 2 additions & 0 deletions apps/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ eframe = { workspace = true, features = ["default_fonts", "wgpu", "glow", "acces
pollster = { workspace = true }
egui = { workspace = true }
serde_json = { workspace = true }
# the control port token
getrandom = { workspace = true }
log = { workspace = true }
# the loupe's HDR texture (`hdr_display`): f32 → f16 texels, uploaded as bytes
half = { workspace = true }
Expand Down
152 changes: 126 additions & 26 deletions apps/app/src/control_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
//! (an HTTP request line from a browser's cross-origin `fetch`, a stray `nc`, binary junk) gets
//! one error reply and the connection is closed, so nothing after it is executed. Lines are
//! bounded ([`MAX_LINE`]) and so is the number of open connections ([`MAX_CONNECTIONS`]); junk
//! never reaches the UI thread. See `docs/control-protocol.md`.
//! never reaches the UI thread. The first request on a connection must be `auth` with the run's
//! token ([`lcc_engine::control_auth`]); anything else gets one error reply and the
//! connection is closed, so a process or web page that only knows the port can't run commands.
//! See `docs/control-protocol.md`.

use std::io::{BufRead, BufReader, Read, Write};
use std::net::{TcpListener, TcpStream};
Expand All @@ -14,6 +17,7 @@ use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::mpsc::{Receiver, Sender, channel};
use std::time::Duration;

use lcc_engine::control_auth;
use lcc_ui_egui::ControlRequest;
use serde_json::{Value, json};

Expand All @@ -23,7 +27,8 @@ pub const MAX_LINE: usize = 4 * 1024 * 1024;
/// Connections served at once; further ones get an error line and are closed.
pub const MAX_CONNECTIONS: usize = 16;

pub fn start(port: u16, ctx: egui::Context) -> Receiver<ControlRequest> {
/// Serve the control channel on `127.0.0.1:port`; every connection must authenticate with `token`.
pub fn start(port: u16, token: String, ctx: egui::Context) -> Receiver<ControlRequest> {
let (tx, rx) = channel::<ControlRequest>();
let listener = match TcpListener::bind(("127.0.0.1", port)) {
Ok(l) => l,
Expand All @@ -33,12 +38,13 @@ pub fn start(port: u16, ctx: egui::Context) -> Receiver<ControlRequest> {
}
};
log::info!("control server listening on 127.0.0.1:{port}");
std::thread::spawn(move || accept_loop(listener, tx, ctx));
std::thread::spawn(move || accept_loop(listener, tx, ctx, token));
rx
}

fn accept_loop(listener: TcpListener, tx: Sender<ControlRequest>, ctx: egui::Context) {
fn accept_loop(listener: TcpListener, tx: Sender<ControlRequest>, ctx: egui::Context, token: String) {
let open = Arc::new(AtomicUsize::new(0));
let token = Arc::new(token);
for mut stream in listener.incoming().flatten() {
if open.fetch_add(1, Ordering::SeqCst) >= MAX_CONNECTIONS {
open.fetch_sub(1, Ordering::SeqCst);
Expand All @@ -48,8 +54,9 @@ fn accept_loop(listener: TcpListener, tx: Sender<ControlRequest>, ctx: egui::Con
let tx = tx.clone();
let ctx = ctx.clone();
let open = Arc::clone(&open);
let token = Arc::clone(&token);
std::thread::spawn(move || {
serve(stream, &tx, &ctx);
serve(stream, &tx, &ctx, &token);
open.fetch_sub(1, Ordering::SeqCst);
});
}
Expand All @@ -66,13 +73,13 @@ const NO_FRAMES_AFTER: Duration = Duration::from_secs(5);
pub const HIDDEN_WINDOW_ERROR: &str = "the app drew no frame for 5 s, so the request was not run: its window is probably not visible \
(on Wayland a window on a hidden workspace or minimized is not redrawn, which pauses the app). Bring the window on screen and send it again";

/// Reads and writes go through the one `stream` (`&TcpStream` is `Read` and `Write`): no
/// `try_clone`. On Windows a cloned socket handle is inheritable, so every program the app starts
/// while a client is connected (a link in the browser, Show in Explorer, an external editor) kept a
/// copy of the connection: closing it then reached the client only when that program exited, as a
/// reset instead of a clean close.
fn serve(stream: TcpStream, tx: &Sender<ControlRequest>, ctx: &egui::Context) {
serve_lines(&stream, &stream, |method, params| {
/// Reads and writes go through the one `stream` ([`serve_stream`]): no `try_clone`. On Windows a
/// cloned socket handle is inheritable, so every program the app starts while a client is
/// connected (a link in the browser, Show in Explorer, an external editor) kept a copy of the
/// connection: closing it then reached the client only when that program exited, as a reset
/// instead of a clean close.
fn serve(stream: TcpStream, tx: &Sender<ControlRequest>, ctx: &egui::Context, token: &str) {
serve_stream(stream, token, |method, params| {
let (req, rrx) = ControlRequest::new(method, params);
let state = Arc::clone(&req.state);
tx.send(req).ok()?;
Expand Down Expand Up @@ -155,6 +162,32 @@ fn parse_line(bytes: &[u8]) -> Line {
}
}

/// [`serve_lines`] on a socket, then close it so the peer reads every reply. Reads and writes go
/// through the one stream, not a `try_clone`: on Windows a cloned socket handle is inheritable, and
/// a program the app starts (browser, Explorer, an editor) would keep the connection open (#1991).
fn serve_stream(stream: TcpStream, token: &str, handle: impl FnMut(String, Value) -> Option<Value>) {
serve_lines(&stream, &stream, token, handle);
close_gracefully(&stream);
}

/// Close a connection the server is done with without destroying its last reply. A socket closed
/// while the peer's later lines sit unread is reset (on Windows at once), and a reset can discard
/// the error reply the peer has not read yet, so the client sees "connection reset" instead of
/// why. Send FIN, then read and drop what is left (bounded in bytes and time) before closing.
fn close_gracefully(stream: &TcpStream) {
let _ = stream.shutdown(std::net::Shutdown::Write);
let _ = stream.set_read_timeout(Some(Duration::from_millis(500)));
let mut sink = [0u8; 8192];
let mut left = MAX_LINE;
let mut reader = stream;
while left > 0 {
match reader.read(&mut sink) {
Ok(0) | Err(_) => break,
Ok(n) => left = left.saturating_sub(n),
}
}
}

/// Read one `\n`-terminated line of at most `max` bytes into `buf` (newline stripped).
/// `Ok(false)` at end of stream; `Err` when the line is too long or the read fails.
fn read_bounded_line(reader: &mut impl BufRead, buf: &mut Vec<u8>, max: usize) -> Result<bool, String> {
Expand All @@ -180,18 +213,31 @@ fn read_bounded_line(reader: &mut impl BufRead, buf: &mut Vec<u8>, max: usize) -
}

/// Serve requests from `read`, answering on `out`, until the peer closes, sends something that is
/// not a request, or `handle` returns `None` (app gone). `handle` gets `(method, params)` and
/// returns the reply object (the request's `id` is added here).
fn serve_lines<R: Read, W: Write>(read: R, mut out: W, mut handle: impl FnMut(String, Value) -> Option<Value>) {
/// not a request, fails to authenticate, or `handle` returns `None` (app gone). The first request
/// must be `auth` with `token` and is answered here; `handle` gets the later ones as
/// `(method, params)` and returns the reply object (the request's `id` is added here).
fn serve_lines<R: Read, W: Write>(read: R, mut out: W, token: &str, mut handle: impl FnMut(String, Value) -> Option<Value>) {
let mut reader = BufReader::new(read);
let mut buf = Vec::new();
let mut authenticated = false;
loop {
let reject = match read_bounded_line(&mut reader, &mut buf, MAX_LINE) {
Ok(false) => return,
Err(e) => e,
Ok(true) => match parse_line(&buf) {
Line::Blank => continue,
Line::Reject(e) => e,
Line::Request { id, method, params } if !authenticated => {
let (mut r, ok) = control_auth::check_auth_request(&method, &params, token);
if let Some(o) = r.as_object_mut() {
o.insert("id".into(), id);
}
if writeln!(out, "{r}").and_then(|()| out.flush()).is_err() || !ok {
return;
}
authenticated = true;
continue;
}
Line::Request { id, method, params } => {
let Some(mut r) = handle(method, params) else { return };
if let Some(o) = r.as_object_mut() {
Expand Down Expand Up @@ -258,17 +304,55 @@ mod tests {
worker.join().unwrap();
}

fn run(input: &[u8]) -> (Vec<Value>, Vec<String>) {
const TOKEN: &str = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef";

/// Serve `input` as it arrives, without authenticating first: replies and the methods run.
fn run_raw(input: &[u8]) -> (Vec<Value>, Vec<String>) {
let mut out = Vec::new();
let mut calls = Vec::new();
serve_lines(input, &mut out, |m, _p| {
serve_lines(input, &mut out, TOKEN, |m, _p| {
calls.push(m);
Some(json!({"ok": true, "result": null}))
});
let replies = String::from_utf8(out).unwrap().lines().map(|l| serde_json::from_str::<Value>(l).unwrap()).collect();
(replies, calls)
}

/// Serve `input` after a successful `auth`; the `auth` reply is left out.
fn run(input: &[u8]) -> (Vec<Value>, Vec<String>) {
let mut all = format!("{}\n", control_auth::auth_request(json!(0), TOKEN)).into_bytes();
all.extend_from_slice(input);
let (mut replies, calls) = run_raw(&all);
assert_eq!(replies.remove(0)["ok"], true, "auth");
(replies, calls)
}

#[test]
fn nothing_runs_before_the_connection_authenticates() {
for first in [
r#"{"id":1,"method":"engine.execute","params":{"command":"folder.move"}}"#.to_string(),
r#"{"id":1,"method":"auth","params":{}}"#.to_string(),
control_auth::auth_request(json!(1), &"0".repeat(64)).to_string(),
] {
let (r, calls) = run_raw(format!("{first}\n{{\"id\":2,\"method\":\"app.quit\"}}\n").as_bytes());
assert!(calls.is_empty(), "nothing may run: {calls:?}");
assert_eq!(r.len(), 1, "one refusal, then the connection is closed: {r:?}");
assert_eq!(r[0]["id"], 1);
assert_eq!(r[0]["ok"], false);
assert!(!r[0].to_string().contains(TOKEN));
}
}

#[test]
fn an_authenticated_connection_runs_requests() {
let input = format!("\n{}\n{{\"id\":2,\"method\":\"ui.inspect\"}}\n", control_auth::auth_request(json!(1), &TOKEN.to_uppercase()));
let (r, calls) = run_raw(input.as_bytes());
assert_eq!(calls, ["ui.inspect"]);
assert_eq!(r[0]["id"], 1);
assert_eq!(r[0]["result"]["authenticated"], true);
assert_eq!(r[1]["id"], 2);
}

#[test]
fn requests_are_answered_in_order_with_ids() {
let (r, calls) = run(b"{\"id\":1,\"method\":\"a\"}\n\n{\"id\":2,\"method\":\"b\",\"params\":{}}\r\n{\"method\":\"c\"}");
Expand All @@ -285,7 +369,20 @@ mod tests {
// closed, so the JSON body is never executed.
let http = b"POST / HTTP/1.1\r\nHost: 127.0.0.1:7980\r\nContent-Type: text/plain\r\n\r\n\
{\"id\":1,\"method\":\"engine.execute\",\"params\":{\"command\":\"folder.move\"}}\n";
let (r, calls) = run(http);
for (r, calls) in [run(http), run_raw(http)] {
assert!(calls.is_empty(), "nothing may run: {calls:?}");
assert_eq!(r.len(), 1);
assert_eq!(r[0]["ok"], false);
assert!(r[0]["error"].as_str().unwrap().contains("closing the connection"));
}
}

#[test]
fn http_request_with_an_auth_line_in_the_body_is_still_refused() {
// Even a page that knew the token could only send it after the HTTP request line.
let http =
format!("POST / HTTP/1.1\r\nHost: 127.0.0.1:7980\r\n\r\n{}\n{{\"method\":\"app.quit\"}}\n", control_auth::auth_request(json!(1), TOKEN));
let (r, calls) = run_raw(http.as_bytes());
assert!(calls.is_empty(), "nothing may run: {calls:?}");
assert_eq!(r.len(), 1);
assert_eq!(r[0]["ok"], false);
Expand Down Expand Up @@ -321,7 +418,7 @@ mod tests {
let endless = std::io::repeat(b'x');
let mut out = Vec::new();
let mut ran = false;
serve_lines(endless, &mut out, |_, _| {
serve_lines(endless, &mut out, TOKEN, |_, _| {
ran = true;
None
});
Expand Down Expand Up @@ -351,7 +448,7 @@ mod tests {
let (tx, _rx) = channel::<ControlRequest>();
let server = std::thread::spawn(move || {
let (s, _) = listener.accept().unwrap();
serve(s, &tx, &egui::Context::default());
serve(s, &tx, &egui::Context::default(), TOKEN);
});
let mut c = TcpStream::connect(addr).unwrap();
c.set_read_timeout(Some(Duration::from_secs(20))).unwrap();
Expand Down Expand Up @@ -379,18 +476,21 @@ mod tests {
let addr = listener.local_addr().unwrap();
let server = std::thread::spawn(move || {
let (s, _) = listener.accept().unwrap();
let read = s.try_clone().unwrap();
serve_lines(read, s, |_, _| Some(json!({"ok": true})));
serve_stream(s, TOKEN, |_, _| Some(json!({"ok": true})));
});
let mut c = TcpStream::connect(addr).unwrap();
c.set_read_timeout(Some(Duration::from_secs(10))).unwrap();
writeln!(c, "{}", control_auth::auth_request(json!(6), TOKEN)).unwrap();
c.write_all(b"{\"id\":7,\"method\":\"x\"}\nhello\n{\"method\":\"y\"}\n").unwrap();
let mut text = String::new();
c.read_to_string(&mut text).unwrap(); // returns at EOF: the server closed the connection
// Returns at EOF: the server closed the connection, gracefully, so every reply arrives even
// though `y` was never read (a plain close resets the connection on Windows).
c.read_to_string(&mut text).unwrap();
server.join().unwrap();
let lines: Vec<&str> = text.lines().collect();
assert_eq!(lines.len(), 2, "{text}");
assert!(lines[0].contains("\"id\":7"));
assert!(lines[1].contains("closing the connection"));
assert_eq!(lines.len(), 3, "{text}");
assert!(lines[0].contains("\"authenticated\":true"));
assert!(lines[1].contains("\"id\":7"));
assert!(lines[2].contains("closing the connection"));
}
}
42 changes: 39 additions & 3 deletions apps/app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ mod window_gpu;

use dialog_filter::FileDialogExt as _;
use lcc_engine::Session;
use lcc_engine::control_auth;
use lcc_ui_egui::panels::library_problem::LibraryProblem;
use lcc_ui_egui::{LccApp, Services, UiState};

Expand Down Expand Up @@ -854,7 +855,9 @@ OPTIONS:
--no-demo don't seed a new library with the procedural demo photos
--memory throwaway in-memory session (alias --demo); nothing is saved
--control PORT serve the JSON-lines control channel on 127.0.0.1:PORT (env {P}_CONTROL_PORT;
see docs/control-protocol.md)
see docs/control-protocol.md). Clients must first send the run's token, which the app
writes to <settings folder>/control-token-PORT
--control-token HEX use this token (64 hex digits; env {P}_CONTROL_TOKEN) instead of a fresh one
--hdr-probe [S] open a small window for S seconds (default 5) that reports HDR display output
(surface formats, colour spaces, display headroom) to stderr and logs/hdr-probe.log
--version, --help
Expand Down Expand Up @@ -926,6 +929,30 @@ fn control_port_from(what: &str, value: Option<String>) -> Option<u16> {
port
}

/// The control channel's token for this run: `supplied` (`--control-token` or
/// `<PREFIX>_CONTROL_TOKEN`) when given, else 32 fresh bytes from the operating system's random
/// source. `Err` says why there is none (then there is no control server).
fn control_token(supplied: Option<String>) -> Result<String, String> {
if let Some(token) = supplied {
return control_auth::validate(&token);
}
let mut bytes = [0u8; control_auth::TOKEN_HEX_LEN / 2];
getrandom::fill(&mut bytes).map_err(|e| format!("no random source for the control token: {e}"))?;
Ok(control_auth::encode(&bytes))
}

/// Write the token where clients on this machine find it ([`control_auth::token_file`]).
fn publish_control_token(port: u16, token: &str, supplied: bool) {
match control_auth::token_file(port).map(|path| (control_auth::write_token_file(&path, token), path)) {
Some((Ok(()), path)) => log::info!("control token for port {port}: {}", path.display()),
Some((Err(e), _)) if supplied => log::warn!("could not store the control token ({e}); clients need {}", control_auth::token_env()),
None if supplied => log::info!("no settings folder; clients need {}", control_auth::token_env()),
// Nowhere to put a fresh token: show it once on stderr (not in the log file).
Some((Err(e), _)) => eprintln!("{}: could not store the control token ({e}); token: {token}", lcc_brand::BINARY),
None => eprintln!("{}: no settings folder for the control token; token: {token}", lcc_brand::BINARY),
}
}

/// An isolated profile keeps the emergency crash log with its other app data. With no
/// override (or an empty override), retain the historical system-temp location.
fn panic_log_path_with(env: impl Fn(&str) -> Option<std::ffi::OsString>, temp: std::path::PathBuf) -> std::path::PathBuf {
Expand All @@ -945,6 +972,7 @@ fn main() -> eframe::Result {
}
alloc_release::install();
let mut control_port = control_port_from(&lcc_brand::env_var("CONTROL_PORT"), lcc_brand::env("CONTROL_PORT").filter(|v| !v.is_empty()));
let mut control_token_arg = control_auth::env_token().filter(|v| !v.trim().is_empty());
let mut files = Vec::new();
let mut seed_demo = true;
let mut in_memory = false;
Expand All @@ -953,6 +981,7 @@ fn main() -> eframe::Result {
while let Some(a) = args.next() {
match a.as_str() {
"--control" => control_port = control_port_from("--control", Some(args.next().unwrap_or_default())),
"--control-token" => control_token_arg = Some(args.next().unwrap_or_default()),
"--library" => library_dir = args.next().map(std::path::PathBuf::from),
"--no-demo" => seed_demo = false,
"--memory" | "--demo" => in_memory = true,
Expand Down Expand Up @@ -1147,8 +1176,15 @@ fn main() -> eframe::Result {
app.notices.push(notice);
}
if let Some(port) = control_port {
let rx = control_server::start(port, cc.egui_ctx.clone());
app = app.with_control(rx);
let supplied = control_token_arg.is_some();
match control_token(control_token_arg) {
Ok(token) => {
publish_control_token(port, &token, supplied);
let rx = control_server::start(port, token, cc.egui_ctx.clone());
app = app.with_control(rx);
}
Err(e) => log::error!("no control server: {e}"),
}
}
if let Some(foreign) = welcome {
// a first start: create a catalog or open one (command-line files wait for it)
Expand Down
Loading
Loading