opt.: backup & titlebar

This commit is contained in:
lollipopkit
2023-12-09 18:48:22 +08:00
parent b2eb96ec16
commit 73752bffc3
27 changed files with 191 additions and 266 deletions

View File

@@ -315,7 +315,7 @@ class ServerProvider extends ChangeNotifier {
final completer = Completer();
final homePath = (await s.client?.run('echo \$HOME').string)?.trim();
if (homePath == null || homePath.isEmpty) {
throw Exception('Got home path: $homePath');
throw Exception('Got empty home path');
}
final remotePath = ShellFunc.getShellPath(homePath);
final reqId = Pros.sftp.add(