ZIm/crates/workspace/src
Thorsten Ball dbebb40956
linux: Store binary path before restart to handle deleted binary file (#11568)
This fixes restart after updates not working on Linux.

On Linux we can't reliably get the binary path after an update, because
the original binary was deleted and the path will contain ` (deleted)`.

See: https://github.com/rust-lang/rust/issues/69343

We *could* strip ` (deleted)` off, but that feels nasty. So instead we
save the original binary path, before we do the installation, then
restart.

Later on, we can also change this to be a _new_ binary path returned by
the installers, which we then have to start.


Release Notes:

- N/A
2024-05-08 19:13:28 +02:00
..
persistence Remember window restore size (#10429) 2024-05-07 23:29:03 -06:00
dock.rs Do not toggle hunk diffs when resizing the docks (#11489) 2024-05-07 17:06:12 +03:00
item.rs Reduce frequency of workspace save (#11183) 2024-04-29 20:27:01 -06:00
modal_layer.rs Occlude only modal and not the space around it used to center it 2024-03-11 18:13:00 +01:00
notifications.rs new path picker (#11015) 2024-04-26 13:25:25 -06:00
pane.rs Standardize TabBar start_slot and end_slot elements (#11403) 2024-05-05 19:59:18 -04:00
pane_group.rs Add col/row resize cursor styles (#11406) 2024-05-06 14:22:56 -07:00
persistence.rs Remember window restore size (#10429) 2024-05-07 23:29:03 -06:00
searchable.rs support vim replace command with range (#10709) 2024-04-29 18:49:30 -06:00
shared_screen.rs Add preview tabs (#9125) 2024-04-11 23:09:12 +02:00
status_bar.rs Add wiring for UI density (#11260) 2024-05-01 14:28:52 -04:00
tasks.rs Add support for detecting tests in source files, and implement it for Rust (#11195) 2024-05-05 16:32:48 +02:00
toolbar.rs Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
workspace.rs linux: Store binary path before restart to handle deleted binary file (#11568) 2024-05-08 19:13:28 +02:00
workspace_settings.rs Improve drop targets (#10643) 2024-04-18 15:28:25 -04:00