Skip to content

Commit

Permalink
fix(run)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchuancong committed Nov 24, 2023
1 parent 6cb5d3b commit 232bdfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'package:pure_live/common/index.dart';
import 'package:easy_refresh/easy_refresh.dart';
import 'package:pure_live/plugins/supabase.dart';
import 'package:pure_live/routes/app_pages.dart';
import 'package:path_provider/path_provider.dart';
import 'package:dynamic_color/dynamic_color.dart';
import 'package:pure_live/routes/route_path.dart';
import 'package:pure_live/plugins/window_util.dart';
Expand Down Expand Up @@ -37,7 +36,6 @@ void main(List<String> args) async {
await windowManager.ensureInitialized();
await WindowUtil.init(width: 1280, height: 720);
}
getApplicationCacheDirectory().then((value) => print(value));
// 先初始化supdatabase
await SupaBaseManager.getInstance().initial();
// 初始化服务
Expand Down
6 changes: 6 additions & 0 deletions run.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### windows打包
`dart run msix:create`
### android通用
`flutter build apk`
### android分包
`flutter build apk --split-per-abi`

0 comments on commit 232bdfc

Please sign in to comment.