mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-15 12:53:41 +00:00
feat: ios support (#194)
This commit is contained in:
46 files changed
+274
-54
No files matched your search
@@ -53,15 +53,15 @@ class Util {
|
||||
return !kIsWeb && Platform.isMacOS;
|
||||
}
|
||||
|
||||
static isUnix() {
|
||||
static isWeb() {
|
||||
return kIsWeb;
|
||||
}
|
||||
|
||||
static supportUnixSocket() {
|
||||
if (kIsWeb) {
|
||||
return false;
|
||||
}
|
||||
return !Platform.isWindows;
|
||||
}
|
||||
|
||||
static isWeb() {
|
||||
return kIsWeb;
|
||||
return Platform.isLinux || Platform.isMacOS || Platform.isAndroid;
|
||||
}
|
||||
|
||||
static List<String> textToLines(String text) {
|
||||
|
||||
Reference in new issue
Block a user