mirror of
https://github.com/wgh136/pixes.git
synced 2025-12-16 17:31:16 +00:00
improve download subpath
This commit is contained in:
@@ -29,6 +29,9 @@ extension FSExt on FileSystemEntity {
|
||||
extension DirectoryExt on Directory {
|
||||
bool havePermission() {
|
||||
if(!existsSync()) return false;
|
||||
if(App.isMacOS) {
|
||||
return true;
|
||||
}
|
||||
try {
|
||||
listSync();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user