R6.6: ElyMark uses ElyTree's Git on every platform
Windows and Linux no longer stage Git or its licenses for ElyMark. git::own looks beside the app, then beside ElyTree (sibling install or macOS registration). R6.5 review round 1 passed; R6.6-R6.10 listed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
eb606e961d
commit
0a5d7ea6dd
7 files changed
+43
-23
No files matched your search
@@ -9,7 +9,7 @@ use std::{
|
||||
use crate::AppId;
|
||||
|
||||
/// Where `app` sits for an install laid out like `exe`'s.
|
||||
fn beside(exe: &Path, app: AppId) -> Vec<PathBuf> {
|
||||
pub(crate) fn beside(exe: &Path, app: AppId) -> Vec<PathBuf> {
|
||||
let file = format!("{}{}", app.slug(), std::env::consts::EXE_SUFFIX);
|
||||
let Some(dir) = exe.parent() else {
|
||||
return Vec::new();
|
||||
@@ -40,7 +40,7 @@ fn find(app: AppId) -> io::Result<Option<PathBuf>> {
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
fn registered(app: AppId) -> Option<PathBuf> {
|
||||
pub(crate) fn registered(app: AppId) -> Option<PathBuf> {
|
||||
use objc2_app_kit::NSWorkspace;
|
||||
use objc2_foundation::NSString;
|
||||
let id = NSString::from_str(&app.bundle_id());
|
||||
@@ -51,7 +51,7 @@ fn registered(app: AppId) -> Option<PathBuf> {
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
fn registered(_: AppId) -> Option<PathBuf> {
|
||||
pub(crate) fn registered(_: AppId) -> Option<PathBuf> {
|
||||
None
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user