Support installing external JARs

This commit is contained in:
schroda
2026-07-14 00:27:13 +02:00
parent f3748017eb
commit 732c5d2083
3 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- (**Migration**) Add "in library" indicator - (**Migration**) Add "in library" indicator
- (**Settings/WebView**) Add setting to enable/disable WebView - (**Settings/WebView**) Add setting to enable/disable WebView
- (**Settings/Sync**) Add sync settings - (**Settings/Sync**) Add sync settings
- (**Extension**) Support installing external JARs
### Changed ### Changed

View File

@@ -172,7 +172,7 @@ export function Extensions({ tabsMenuHeight }: { tabsMenuHeight: number }) {
const handleExtensionUpdate = useCallback(() => setRefetchExtensions({}), []); const handleExtensionUpdate = useCallback(() => setRefetchExtensions({}), []);
const submitExternalExtension = (file: File) => { const submitExternalExtension = (file: File) => {
if (!file.name.toLowerCase().endsWith('apk')) { if (!file.name.toLowerCase().match(/\.(apk|jar)$/g)) {
makeToast(t`Invalid filetype`, 'error'); makeToast(t`Invalid filetype`, 'error');
return; return;
} }

View File

@@ -1,7 +1,7 @@
[ [
{ {
"uiVersion": "PREVIEW", "uiVersion": "PREVIEW",
"serverVersion": "r2230" "serverVersion": "r2243"
}, },
{ {
"tag": "v20260509.01", "tag": "v20260509.01",