ported sdk and this works

This commit is contained in:
2026-10-04 21:44:03 -07:00
parent 3ee95c1bf5
commit 63b1a494cb
67 changed files with 6177 additions and 53 deletions

View File

@@ -6,8 +6,9 @@
"scripts": {
"start": "node server.js",
"build:web": "node -e \"const fs = require('fs'); fs.rmSync('www', { recursive: true, force: true }); fs.mkdirSync('www'); ['css', 'js', 'assets'].forEach(d => fs.cpSync(d, 'www/' + d, { recursive: true })); fs.copyFileSync('index.html', 'www/index.html');\"",
"dev": "npm run build:web && cap sync android && cd android && gradlew.bat assembleDebug && cd .. && node -e \"require('fs').copyFileSync('android/app/build/outputs/apk/debug/app-debug.apk', 'Vyla-TV-debug.apk')\"",
"release": "npm run build:web && cap sync android && cd android && gradlew.bat assembleRelease && cd .. && node -e \"require('fs').copyFileSync('android/app/build/outputs/apk/release/app-release-unsigned.apk', 'Vyla-TV-release.apk')\""
"dev": "node scripts/build-apk.mjs",
"release": "npm run build:web && cap sync android && cd android && gradlew.bat assembleRelease && cd .. && node -e \"require('fs').copyFileSync('android/app/build/outputs/apk/release/app-release-unsigned.apk', 'Vyla-TV-release.apk')\"",
"android": "node scripts/build-android.mjs && npx cap sync android"
},
"dependencies": {
"@capacitor/android": "^6.2.2",
@@ -15,7 +16,12 @@
"@capacitor/core": "^6.2.2",
"@vyla-entertainment/sdk": "^1.14.0",
"dotenv": "^16.4.5",
"express": "^4.19.2"
"express": "^4.19.2",
"hls.js": "^1.7.3"
},
"devDependencies": {
"buffer": "^6.0.3",
"esbuild": "^0.25.12"
},
"main": "server.js",
"keywords": [],