Skip to content

Commit

Permalink
[sqflite_common_ffi_web] fix pana wasm support
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Nov 21, 2024
1 parent 8b3cdd8 commit e784126
Show file tree
Hide file tree
Showing 15 changed files with 433 additions and 415 deletions.
7 changes: 4 additions & 3 deletions packages_web/sqflite_common_ffi_web/bin/setup.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import 'dart:io';

import 'package:args/args.dart';
import 'package:sqflite_common_ffi_web/src/setup/setup.dart';

import 'package:sqflite_common_ffi_web/src/setup/setup_io.dart';

var noSqlite3Wasm = 'no-sqlite3-wasm';
var sqlite3WasmUrl = 'sqlite3-wasm-url';
Expand Down Expand Up @@ -37,8 +38,8 @@ Future<void> main(List<String> args) async {
}
var path = result.rest.isNotEmpty ? result.rest.first : null;
await webdevReady;
await setupBinaries(
options: SetupOptions(
await setupSqfliteWebBinaries(
options: SqfliteWebSetupOptions(
path: path,
dir: dir,
force: force,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:sqflite_common_ffi_web/src/setup/setup.dart';
import 'setup_io.dart';

Future<void> main() async {
var context = await getSetupContext();
Expand Down
Loading

0 comments on commit e784126

Please sign in to comment.