ci: build web

This commit is contained in:
levi committed 2022-11-01 15:13:59 +08:00
1 parent ff4e6f448c
commit bf8e24a6af
13 files changed
+140 -74

No files matched your search

+1 -2
View File
@@ -32,7 +32,6 @@
/build/
# Web related
lib/generated_plugin_registrant.dart
# Symbolication related
app.*.symbols
@@ -47,4 +46,4 @@ app.*.map.json
android/app/libs/libgopeed.aar
android/app/libs/libgopeed-sources.jar
macos/Frameworks/libgopeed.h
macos/Frameworks/libgopeed.dylib
macos/Frameworks/libgopeed.dylib
@@ -5,7 +5,8 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application android:requestLegacyExternalStorage="true"
<application
android:requestLegacyExternalStorage="true"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:label="gopeed">
-2
View File
@@ -114,8 +114,6 @@ class Item extends StatelessWidget {
list.add(IconButton(
icon: const Icon(Icons.folder_open),
onPressed: () async {
print(Util.buildAbsPath(task.opts.path, task.res.files[0].path,
task.res.files[0].name));
final file = File(Util.buildAbsPath(task.opts.path,
task.res.files[0].path, task.res.files[0].name));
await launchUrl(file.parent.uri);