Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.foxdebug.acode" android-versionCode="972" version="1.12.2"
<widget id="com.foxdebug.acode" android-versionCode="973" version="1.12.3"
xmlns="http://www.w3.org/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.foxdebug.acode",
"displayName": "Acode",
"version": "1.11.8",
"version": "1.12.3",
"description": "Acode is a code editor for android",
"scripts": {
"lang": "node ./utils/lang.js",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ar-ye.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "تأكيد إغلاق تبويب الطرفية",
"terminal:image support": "دعم الصور",
"terminal": "الطرفية",
"terminal not installed prompt": "الطرفية غير مثبتة. هل تريد تهيئتها الآن؟",
"terminal first launch prompt": "بيئة الطرفية غير مثبتة. تتيح تشغيل الأوامر و SSH والبرمجة النصية. تثبيت الآن؟",
"allFileAccess": "الوصول لجميع الملفات",
"fonts": "الخطوط",
"sponsor": "دعم التطبيق",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/be-by.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Тэрмінал не ўсталяваны. Жадаеце ініцыялізаваць яго зараз?",
"terminal first launch prompt": "Асяроддзе тэрмінала не ўсталявана. Яно дазваляе выконваць каманды, SSH і скрыпты. Усталяваць зараз?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Спонсар",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/bn-bd.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "টার্মিনাল",
"terminal not installed prompt": "টার্মিনাল ইনস্টল করা নেই। এখন এটি আরম্ভ করতে চান?",
"terminal first launch prompt": "টার্মিনাল পরিবেশ ইনস্টল করা নেই। এটি কমান্ড, SSH এবং স্ক্রিপ্টিং চালাতে সক্ষম করে। এখন ইনস্টল করবেন?",
"allFileAccess": "সকল ফাইল অ্যাক্সেস",
"fonts": "ফন্ট",
"sponsor": "স্পন্সর",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/cs-cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Potvrzení zavření karty terminálu",
"terminal:image support": "Podpora obrázků",
"terminal": "Terminál",
"terminal not installed prompt": "Terminál není nainstalován. Chcete jej nyní inicializovat?",
"terminal first launch prompt": "Prostředí terminálu není nainstalováno. Umožňuje spouštět příkazy, SSH a skripty. Nainstalovat nyní?",
"allFileAccess": "Přístup ke všem souborům",
"fonts": "Fonty",
"sponsor": "Sponzor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/de-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Terminal-Tab schließen bestätigen",
"terminal:image support": "Bildunterstützung",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal ist nicht installiert. Möchten Sie es jetzt initialisieren?",
"terminal first launch prompt": "Die Terminal-Umgebung ist nicht installiert. Sie ermöglicht das Ausführen von Befehlen, SSH und Scripting. Jetzt installieren?",
"allFileAccess": "Zugriff auf alle Dateien",
"fonts": "Schriftarten",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal is not installed. Would you like to initialize it now?",
"terminal first launch prompt": "Terminal environment is not installed. It enables running commands, SSH, and scripting. Install now?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/es-sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal no está instalado. ¿Desea inicializarlo ahora?",
"terminal first launch prompt": "El entorno del terminal no está instalado. Permite ejecutar comandos, SSH y scripting. ¿Instalar ahora?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Patrocinador",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/fr-fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Le terminal n'est pas installé. Voulez-vous l'initialiser maintenant ?",
"terminal first launch prompt": "L'environnement du terminal n'est pas installé. Il permet d'exécuter des commandes, SSH et des scripts. Installer maintenant ?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Parrainer",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/he-il.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "הטרמינל לא מותקן. האם ברצונך לאתחל אותו כעת?",
"terminal first launch prompt": "סביבת הטרמינל לא מותקנת. היא מאפשרת הרצת פקודות, SSH וסקריפטים. להתקין כעת?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "לָתֵת חָסוּת",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/hi-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "टर्मिनल टैब बंद करने की पुष्टि करें",
"terminal:image support": "इमेज सपोर्ट",
"terminal": "टर्मिनल",
"terminal not installed prompt": "टर्मिनल इंस्टॉल नहीं है। क्या आप इसे अभी आरंभ करना चाहते हैं?",
"terminal first launch prompt": "टर्मिनल वातावरण इंस्टॉल नहीं है। यह कमांड, SSH और स्क्रिप्टिंग चलाने में सक्षम बनाता है। अभी इंस्टॉल करें?",
"allFileAccess": "ऑल फ़ाइल एक्सेस",
"fonts": "फॉन्ट्स",
"sponsor": "स्पॉन्सर",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/hu-hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Megerősítés kérése a terminál lapjainak bezárásakor",
"terminal:image support": "Képek támogatása",
"terminal": "Terminál",
"terminal not installed prompt": "A terminál nincs telepítve. Szeretné most inicializálni?",
"terminal first launch prompt": "A terminál környezet nincs telepítve. Lehetővé teszi parancsok, SSH és szkriptek futtatását. Telepíti most?",
"allFileAccess": "Hozzáférés az összes fájlhoz",
"fonts": "Betűtípusok",
"sponsor": "Szponzor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/id-id.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Konfirmasi penutupan tab terminal",
"terminal:image support": "Dukungan gambar",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal belum terpasang. Ingin menginisialisasinya sekarang?",
"terminal first launch prompt": "Lingkungan terminal belum terpasang. Ini memungkinkan menjalankan perintah, SSH, dan skrip. Pasang sekarang?",
"allFileAccess": "Semua akses berkas",
"fonts": "Huruf",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ir-fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "ترمینال نصب نشده است. آیا می‌خواهید آن را راه‌اندازی کنید؟",
"terminal first launch prompt": "محیط ترمینال نصب نشده است. امکان اجرای دستورات، SSH و اسکریپت را فراهم می‌کند. اکنون نصب شود؟",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "حامی مالی",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/it-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Il terminale non è installato. Vuoi inizializzarlo ora?",
"terminal first launch prompt": "L'ambiente del terminale non è installato. Consente di eseguire comandi, SSH e scripting. Installare ora?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ja-jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "ターミナルがインストールされていません。今すぐ初期化しますか?",
"terminal first launch prompt": "ターミナル環境がインストールされていません。コマンド、SSH、スクリプトを実行できます。今すぐインストールしますか?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "スポンサー",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ko-kr.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "터미널이 설치되지 않았습니다. 지금 초기화하시겠습니까?",
"terminal first launch prompt": "터미널 환경이 설치되지 않았습니다. 명령, SSH, 스크립팅을 실행할 수 있습니다. 지금 설치하시겠습니까?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "스폰서",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ml-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "ടെർമിനൽ ഇൻസ്റ്റാൾ ചെയ്തിട്ടില്ല. ഇപ്പോൾ ആരംഭിക്കണോ?",
"terminal first launch prompt": "ടെർമിനൽ പരിസ്ഥിതി ഇൻസ്റ്റാൾ ചെയ്തിട്ടില്ല. ഇത് കമാൻഡുകൾ, SSH, സ്ക്രിപ്റ്റിംഗ് എന്നിവ പ്രവർത്തിപ്പിക്കാൻ സഹായിക്കുന്നു. ഇപ്പോൾ ഇൻസ്റ്റാൾ ചെയ്യണോ?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "സ്പോൺസർ",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/mm-unicode.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal ထည့်သွင်းမထားပါ။ ယခုစတင်လိုပါသလား။",
"terminal first launch prompt": "Terminal ပတ်ဝန်းကျင် ထည့်သွင်းမထားပါ။ ၎င်းသည် command များ၊ SSH နှင့် scripting လုပ်ဆောင်နိုင်စေပါသည်။ ယခုထည့်သွင်းမလား။",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "စပွန်ဆာ",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/mm-zawgyi.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal ထည့္သြင္းမထားပါ။ ယခုစတင္လိုပါသလား။",
"terminal first launch prompt": "Terminal ပတ္ဝန္းက်င္ ထည့္သြင္းမထားပါ။ ၎င္းသည္ command မ်ား၊ SSH ႏွင့္ scripting လုပ္ေဆာင္ႏိုင္ေစပါသည္။ ယခုထည့္သြင္းမလား။",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "စပွန်ဆာ",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/pl-pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Potwierdź zamknięcie karty terminala",
"terminal:image support": "Obsługa obrazów",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal nie jest zainstalowany. Czy chcesz go teraz zainicjować?",
"terminal first launch prompt": "Środowisko terminala nie jest zainstalowane. Umożliwia uruchamianie poleceń, SSH i skryptów. Zainstalować teraz?",
"allFileAccess": "Dostęp do wszystkich plików",
"fonts": "Czcionki",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirme o fechamento da aba do terminal",
"terminal:image support": "Suportar imagens",
"terminal": "Terminal",
"terminal not installed prompt": "O terminal não está instalado. Deseja inicializá-lo agora?",
"terminal first launch prompt": "O ambiente do terminal não está instalado. Ele permite executar comandos, SSH e scripts. Instalar agora?",
"allFileAccess": "Acesso total aos arquivos",
"fonts": "Fontes",
"sponsor": "Patrocinador",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/pu-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "ਟਰਮੀਨਲ ਸਥਾਪਤ ਨਹੀਂ ਹੈ। ਕੀ ਤੁਸੀਂ ਇਸਨੂੰ ਹੁਣੇ ਸ਼ੁਰੂ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ?",
"terminal first launch prompt": "ਟਰਮੀਨਲ ਵਾਤਾਵਰਨ ਸਥਾਪਤ ਨਹੀਂ ਹੈ। ਇਹ ਕਮਾਂਡਾਂ, SSH ਅਤੇ ਸਕ੍ਰਿਪਟਿੰਗ ਚਲਾਉਣ ਦੇ ਯੋਗ ਬਣਾਉਂਦਾ ਹੈ। ਹੁਣੇ ਸਥਾਪਤ ਕਰਨਾ ਹੈ?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "ਸਪਾਂਸਰ",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/ru-ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Терминал",
"terminal not installed prompt": "Терминал не установлен. Хотите инициализировать его сейчас?",
"terminal first launch prompt": "Среда терминала не установлена. Она позволяет выполнять команды, SSH и скрипты. Установить сейчас?",
"allFileAccess": "Доступ ко всем файлам",
"fonts": "Шрифты",
"sponsor": "Спонсор",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/tl-ph.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Hindi naka-install ang terminal. Gusto mo ba itong simulan ngayon?",
"terminal first launch prompt": "Ang terminal environment ay hindi naka-install. Ito ay nagbibigay-daan sa pagpapatakbo ng mga command, SSH, at scripting. I-install ngayon?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/tr-tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal kurulu değil. Şimdi başlatmak ister misiniz?",
"terminal first launch prompt": "Terminal ortamı kurulu değil. Komut çalıştırma, SSH ve betik yazmayı sağlar. Şimdi kur?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Sponsor",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/uk-ua.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Підтримка зображень",
"terminal": "Термінал",
"terminal not installed prompt": "Термінал не встановлено. Бажаєте ініціалізувати його зараз?",
"terminal first launch prompt": "Середовище термінала не встановлено. Воно дозволяє виконувати команди, SSH та скрипти. Встановити зараз?",
"allFileAccess": "Доступ до всіх файлів",
"fonts": "Шрифти",
"sponsor": "Спонсор",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/uz-uz.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal o'rnatilmagan. Uni hozir ishga tushirishni xohlaysizmi?",
"terminal first launch prompt": "Terminal muhiti o'rnatilmagan. Bu buyruqlar, SSH va skriptlarni ishga tushirish imkonini beradi. Hozir o'rnatilsinmi?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Homiy",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/vi-vn.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "Terminal chưa được cài đặt. Bạn có muốn khởi tạo nó ngay bây giờ?",
"terminal first launch prompt": "Môi trường terminal chưa được cài đặt. Nó cho phép chạy lệnh, SSH và tập lệnh. Cài đặt ngay?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "Nhà tài trợ",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "确认关闭终端标签页",
"terminal:image support": "图像支持",
"terminal": "终端",
"terminal not installed prompt": "终端未安装。是否立即初始化?",
"terminal first launch prompt": "终端环境未安装。它可用于运行命令、SSH 和脚本。立即安装?",
"allFileAccess": "所有文件读写权限",
"fonts": "字体",
"sponsor": "赞助",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/zh-hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "確認關閉終端分頁",
"terminal:image support": "圖像支持",
"terminal": "終端機",
"terminal not installed prompt": "終端未安裝。是否立即初始化?",
"terminal first launch prompt": "終端環境未安裝。它可用於運行命令、SSH 和腳本。立即安裝?",
"allFileAccess": "所有文件讀寫權限",
"fonts": "字體",
"sponsor": "贊助",
Expand Down
2 changes: 2 additions & 0 deletions src/lang/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@
"terminal:confirm tab close": "Confirm terminal tab close",
"terminal:image support": "Image support",
"terminal": "Terminal",
"terminal not installed prompt": "終端未安裝。是否立即初始化?",
"terminal first launch prompt": "終端環境未安裝。它可用於運行命令、SSH 和腳本。立即安裝?",
"allFileAccess": "All file access",
"fonts": "Fonts",
"sponsor": "贊助",
Expand Down
1 change: 1 addition & 0 deletions src/lib/devTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const devTools = {
"utf-8",
);
await fsOperation(DATA_STORAGE).createFile("eruda.js", erudaScript);
} catch {
} finally {
if (showLoader) loader.destroy();
}
Comment on lines +56 to 59

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Silent catch leaves init in a broken-but-continuing state

The empty catch {} swallows the CDN download error, so control falls through to helpers.toInternalUri(erudaPath) and the <script> tag load — on a file that was never written. The onerror callback then rejects the inner Promise, which is caught by the outer catch and re-thrown. Dev tools init still fails, but the caller now sees a cryptic "script load error" rather than the original CDN/network error, making the failure harder to diagnose. At minimum the caught error should be logged; better still, return early to avoid the misleading follow-on failure.

Expand Down
Loading