mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add Linux support
This commit is contained in:
@@ -17,7 +17,7 @@ class LogsFile {
|
||||
IOSink? _cached;
|
||||
Future<void> init() async {
|
||||
if (_cachedLogDirectory != null) return;
|
||||
if (isWindows) {
|
||||
if (isWindows || isLinux) {
|
||||
try {
|
||||
final p = await platformPath.getCurrentExe();
|
||||
if (p != null) {
|
||||
|
||||
Reference in New Issue
Block a user