fix windows export
This commit is contained in:
parent
2f9710aa42
commit
8d39128374
|
@ -81,7 +81,8 @@ Future<String?> chooseFolder(BuildContext context) async {
|
||||||
pickText: '将文件保存到这里',
|
pickText: '将文件保存到这里',
|
||||||
context: context,
|
context: context,
|
||||||
fsType: FilesystemType.folder,
|
fsType: FilesystemType.folder,
|
||||||
rootDirectory: Directory(await currentChooserRoot()),
|
rootDirectory:
|
||||||
|
Directory.fromUri(Uri.file(await currentChooserRoot())).absolute,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue