Skip to content
Merged
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 .github/workflows/add-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Add Pull Requests Labels
on:
pull_request_target:
types: [opened]
types: [opened, closed, ready_for_review]

jobs:
add-labels:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,5 @@ jobs:
- name: Translation Files Check (if changed)
if: steps.file-changes.outputs.translation == 'true'
run: |
npm run lint check
npm ci --no-audit --no-fund
npm run lang check
3 changes: 2 additions & 1 deletion src/lang/ar-ye.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/be-by.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,5 +454,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/bn-bd.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/cs-cz.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/de-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode kann nach neuen App-Updates suchen, wenn Sie online sind. Update-Prüfungen aktivieren?",
"keywords": "Schlüsselwörter",
"author": "Autor",
"filtered by": "Gefiltert nach"
"filtered by": "Gefiltert nach",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/es-sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/fr-fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/he-il.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,5 +454,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/hi-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,5 +454,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/hu-hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Internetkapcsolat esetén az Acode ellenőrizheti az új alkalmazásfrissítéseket. Engedélyezi a frissítések ellenőrzését?",
"keywords": "Kulcsszavak",
"author": "Szerző",
"filtered by": "Szűrési szempont"
"filtered by": "Szűrési szempont",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/id-id.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,5 +454,6 @@
"prompt update check consent message": "Acode dapat memeriksa pembaruan aplikasi baru saat Anda online. Aktifkan pemeriksaan pembaruan?",
"keywords": "Kata kunci",
"author": "Pembuat",
"filtered by": "Disaring oleh"
"filtered by": "Disaring oleh",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/ir-fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,5 +454,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/it-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/ja-jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/ko-kr.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/ml-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/mm-unicode.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/mm-zawgyi.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/pl-pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/pu-in.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/ru-ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/tl-ph.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/tr-tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/uk-ua.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/uz-uz.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/vi-vn.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,5 +454,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode 能够在有网时检查更新。启用更新检查?",
"keywords": "关键字",
"author": "作者",
"filtered by": "过滤条件"
"filtered by": "过滤条件",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/zh-hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode 能夠在有網時檢查更新。啟用更新檢查?",
"keywords": "關鍵字",
"author": "作者",
"filtered by": "篩選條件"
"filtered by": "篩選條件",
"clean install state": "Clean Install State"
}
3 changes: 2 additions & 1 deletion src/lang/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,5 +453,6 @@
"prompt update check consent message": "Acode can check for new app updates when you're online. Enable update checks?",
"keywords": "Keywords",
"author": "Author",
"filtered by": "Filtered by"
"filtered by": "Filtered by",
"clean install state": "Clean Install State"
}
26 changes: 26 additions & 0 deletions src/settings/appSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ export default function otherSettings() {
value: values.console,
select: [appSettings.CONSOLE_LEGACY, appSettings.CONSOLE_ERUDA],
},
{
key: "cleanInstallState",
text: strings["clean install state"],
},
{
key: "keyboardMode",
text: strings["keyboard mode"],
Expand Down Expand Up @@ -245,6 +249,28 @@ export default function otherSettings() {
}
}

case "cleanInstallState": {
const INSTALL_STATE_STORAGE = Url.join(DATA_STORAGE, ".install-state");

const fs = fsOperation(INSTALL_STATE_STORAGE);

if (!(await fs.exists())) {
toast(strings["no such file or directory"]);
break;
}

loader.create("loading...");

try {
await fs.delete();
loader.destroy();
toast(strings["success"]);
} catch (error) {
helpers.error(error);
loader.destroy();
}
}

case "rememberFiles":
if (!value) {
delete localStorage.files;
Expand Down