fix: corrupted zip file in webui

This commit is contained in:
RainyXeon
2024-07-06 12:11:23 +07:00
committed by ThePedroo
parent d1e86029ce
commit 5778870963
8 changed files with 11 additions and 11 deletions

View File

@@ -173,11 +173,11 @@ androidComponents.onVariants { variant ->
set.add(Pair(root.file("webroot/js/list/settings.js").asFile, null))
set.add(Pair(root.file("webroot/js/list/language.js").asFile, null))
set.add(Pair(root.file("webroot/lang/en_US/main.json").asFile, null))
set.add(Pair(root.file("webroot/lang/pt_BR/main.json").asFile, null))
set.add(Pair(root.file("webroot/lang/ro_RO/main.json").asFile, null))
set.add(Pair(root.file("webroot/lang/ru_RU/main.json").asFile, null))
set.add(Pair(root.file("webroot/lang/vi_VN/main.json").asFile, null))
set.add(Pair(root.file("webroot/lang/en_US.json").asFile, null))
set.add(Pair(root.file("webroot/lang/pt_BR.json").asFile, null))
set.add(Pair(root.file("webroot/lang/ro_RO.json").asFile, null))
set.add(Pair(root.file("webroot/lang/ru_RU.json").asFile, null))
set.add(Pair(root.file("webroot/lang/vi_VN.json").asFile, null))
set.add(Pair(root.file("webroot/js/modal/language.js").asFile, null))

View File

@@ -124,11 +124,11 @@ extract "$ZIPFILE" 'webroot/js/list/module.js' "$MODPATH/webroot/js/list" true
extract "$ZIPFILE" 'webroot/js/list/settings.js' "$MODPATH/webroot/js/list" true
extract "$ZIPFILE" 'webroot/js/list/language.js' "$MODPATH/webroot/js/list" true
extract "$ZIPFILE" 'webroot/lang/en_US/main.json' "$MODPATH/webroot/lang/en_US" true
extract "$ZIPFILE" 'webroot/lang/pt_BR/main.json' "$MODPATH/webroot/lang/pt_BR" true
extract "$ZIPFILE" 'webroot/lang/ro_RO/main.json' "$MODPATH/webroot/lang/ro_RO" true
extract "$ZIPFILE" 'webroot/lang/ru_RU/main.json' "$MODPATH/webroot/lang/ru_RU" true
extract "$ZIPFILE" 'webroot/lang/vi_VN/main.json' "$MODPATH/webroot/lang/vi_VN" true
extract "$ZIPFILE" 'webroot/lang/en_US.json' "$MODPATH/webroot/lang" true
extract "$ZIPFILE" 'webroot/lang/pt_BR.json' "$MODPATH/webroot/lang" true
extract "$ZIPFILE" 'webroot/lang/ro_RO.json' "$MODPATH/webroot/lang" true
extract "$ZIPFILE" 'webroot/lang/ru_RU.json' "$MODPATH/webroot/lang" true
extract "$ZIPFILE" 'webroot/lang/vi_VN.json' "$MODPATH/webroot/lang" true
extract "$ZIPFILE" 'webroot/js/modal/language.js' "$MODPATH/webroot/js/modal" true