mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-08 01:10:35 +00:00
fix mpv unzip
This commit is contained in:
parent
1c0275df46
commit
c58646244e
2 changed files with 3 additions and 2 deletions
|
|
@ -271,7 +271,7 @@ class _MyAppState extends ConsumerState<MyApp> {
|
|||
final shaderFile = File('$shadersDir/${file.name.split("/").last}');
|
||||
await shaderFile.writeAsBytes(file.content);
|
||||
} else if (file.name.startsWith("scripts/") &&
|
||||
file.name.endsWith(".js")) {
|
||||
(file.name.endsWith(".js") || file.name.endsWith(".lua"))) {
|
||||
final scriptFile = File('$scriptsDir/${file.name.split("/").last}');
|
||||
await scriptFile.writeAsBytes(file.content);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,8 @@ class _PlayerAdvancedScreenState extends ConsumerState<PlayerAdvancedScreen> {
|
|||
);
|
||||
await shaderFile.writeAsBytes(file.content);
|
||||
} else if (file.name.startsWith("scripts/") &&
|
||||
file.name.endsWith(".js")) {
|
||||
(file.name.endsWith(".js") ||
|
||||
file.name.endsWith(".lua"))) {
|
||||
final scriptFile = File(
|
||||
'$scriptsDir/${file.name.split("/").last}',
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue