new: upgrade on macos

This commit is contained in:
lollipopkit
2023-08-30 17:06:24 +08:00
parent 8004c41094
commit 2f4b522189
11 changed files with 44 additions and 88 deletions

View File

@@ -82,7 +82,7 @@ class _PrivateKeyListState extends State<PrivateKeysListPage>
if (isDesktop && store.box.keys.isEmpty) {
final home = getHomeDir();
if (home == null) return;
final idRsaFile = File(pathJoin(home, '.ssh/id_rsa'));
final idRsaFile = File(joinPath(home, '.ssh/id_rsa'));
if (!idRsaFile.existsSync()) return;
final sysPk = PrivateKeyInfo(
id: 'system',