Add plugin & disable CapacitorHTTP

This commit is contained in:
WardPearce
2024-09-20 19:47:08 +12:00
parent fc64a5e3ed
commit bc7e50e76b
4 changed files with 14 additions and 4 deletions
+7
View File
@@ -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).
+3 -3
View File
@@ -5,9 +5,9 @@ const config: CapacitorConfig = {
appName: 'Materialious',
webDir: 'build',
plugins: {
CapacitorHttp: {
enabled: true
},
CapacitorNodeJS: {
nodeDir: 'nodejs-android'
}
},
};
+2 -1
View File
@@ -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"
]
}
}
@@ -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,
}