diff --git a/README.md b/README.md index 1451e9fe..af14cecf 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,13 @@ - PWA support. - YT path redirects (So your redirect plugins should still work!) +# Support table +| | Dash | HLS | Local video fallback | API-Extended | ffmpeg download merging | Dearrow | RYD | +|---------|------|-----|----------------------|--------------|-------------------------|---------|-----| +| Web | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | +| Desktop | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | +| Android | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | + # Public instances [Public instances are listed here](./docs/INSTANCES.md). diff --git a/materialious/electron/capacitor.config.ts b/materialious/electron/capacitor.config.ts index 199447cb..ab267b2c 100644 --- a/materialious/electron/capacitor.config.ts +++ b/materialious/electron/capacitor.config.ts @@ -5,9 +5,9 @@ const config: CapacitorConfig = { appName: 'Materialious', webDir: 'build', plugins: { - CapacitorHttp: { - enabled: true - }, + CapacitorNodeJS: { + nodeDir: 'nodejs-android' + } }, }; diff --git a/materialious/electron/package.json b/materialious/electron/package.json index 8c1dcbd2..a6700d7d 100644 --- a/materialious/electron/package.json +++ b/materialious/electron/package.json @@ -21,6 +21,7 @@ }, "dependencies": { "@capacitor-community/electron": "^5.0.0", + "capacitor-nodejs": "https://github.com/EdenwareApps/Capacitor-NodeJS/releases/download/v1.0.0-beta.7/capacitor6-nodejs.tgz", "chokidar": "~3.6.0", "electron-is-dev": "~2.0.0", "electron-serve": "~1.1.0", @@ -40,4 +41,4 @@ "capacitor", "electron" ] -} \ No newline at end of file +} diff --git a/materialious/electron/src/rt/electron-plugins.js b/materialious/electron/src/rt/electron-plugins.js index b33b2826..5f312366 100644 --- a/materialious/electron/src/rt/electron-plugins.js +++ b/materialious/electron/src/rt/electron-plugins.js @@ -1,4 +1,6 @@ /* eslint-disable @typescript-eslint/no-var-requires */ +const CapacitorNodejs = require('../../../node_modules/capacitor-nodejs/electron/dist/plugin.js'); module.exports = { + CapacitorNodejs, } \ No newline at end of file