Add plugin & disable CapacitorHTTP
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@ const config: CapacitorConfig = {
|
||||
appName: 'Materialious',
|
||||
webDir: 'build',
|
||||
plugins: {
|
||||
CapacitorHttp: {
|
||||
enabled: true
|
||||
},
|
||||
CapacitorNodeJS: {
|
||||
nodeDir: 'nodejs-android'
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
Reference in New Issue
Block a user