Skip to content

Commit

Permalink
Fix GET source header
Browse files Browse the repository at this point in the history
  • Loading branch information
kodjodevf committed Nov 2, 2023
1 parent c030175 commit 3fa8110
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Future<Map<String, String>?> getMirrorPref(
final bytecode = compilerEval(codeSource);
final runtime = runtimeEval(bytecode);
var res = await runtime.executeLib(
'package:mangayomi/source_code.dart',
'package:mangayomi/main.dart',
'getMirrorPref',
);
Map<String, String> headers = {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Future<String?> getHeaders(String codeSource, String baseUrl) async {
final runtime = runtimeEval(bytecode);
runtime.args = [$String(baseUrl)];
var res = await runtime.executeLib(
'package:mangayomi/source_code.dart',
'package:mangayomi/main.dart',
'getHeader',
);
Map<String, String> headers = {};
Expand Down
23 changes: 4 additions & 19 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -479,14 +479,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.13.1"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
url: "https://pub.dev"
source: hosted
version: "2.0.3"
flutter_localizations:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -697,9 +689,10 @@ packages:
isar_generator:
dependency: "direct dev"
description:
path: "packages/isar_generator"
relative: true
source: path
name: isar_generator
sha256: "76c121e1295a30423604f2f819bc255bc79f852f3bc8743a24017df6068ad133"
url: "https://pub.dev"
source: hosted
version: "3.1.0+1"
js:
dependency: transitive
Expand Down Expand Up @@ -741,14 +734,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.1.9"
lints:
dependency: transitive
description:
name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
logging:
dependency: transitive
description:
Expand Down
4 changes: 1 addition & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ dev_dependencies:
build_runner: ^2.4.6
riverpod_generator: ^2.3.2
flutter_launcher_icons: ^0.13.1
isar_generator:
path: ./packages/isar_generator
flutter_lints: ^2.0.1
isar_generator: ^3.1.0+1

flutter:
uses-material-design: true
Expand Down

0 comments on commit 3fa8110

Please sign in to comment.