diff --git a/lib/data/system_actions.dart b/lib/data/system_actions.dart index 6cd8149..24598a5 100644 --- a/lib/data/system_actions.dart +++ b/lib/data/system_actions.dart @@ -242,7 +242,10 @@ class SystemActions { } final isWindows = Platform.isWindows; - final fromPath = _whichFai(isWindows ? 'fai.exe' : 'fai'); + // Post-rename the entry-point binary on PATH is `chain`; still + // accept a legacy `fai` for installs that predate the rename. + final fromPath = _whichFai(isWindows ? 'chain.exe' : 'chain') ?? + _whichFai(isWindows ? 'fai.exe' : 'fai'); if (fromPath != null) return fromPath; final home = Platform.environment[isWindows ? 'USERPROFILE' : 'HOME'];