mirror of
https://gitlab.com/vyla-entertainment/TV.git
synced 2026-11-14 12:07:21 -05:00
rewrote the entire app using jetpack compose, and exoplayer/media3 for playback
This commit is contained in:
@@ -73,4 +73,8 @@ for (const p of ['index.html', 'css', 'js', 'assets']) {
|
||||
const from = path.join(root, p);
|
||||
if (fs.existsSync(from)) fs.cpSync(from, path.join(www, p), { recursive: true, filter: s => !s.endsWith('vyla-local.js') });
|
||||
}
|
||||
fs.copyFileSync(path.join(root, 'node_modules/hls.js/dist/hls.min.js'), path.join(www, 'js/hls.min.js'));
|
||||
fs.copyFileSync(path.join(root, 'node_modules/hls.js/dist/hls.min.js'), path.join(www, 'js/hls.min.js'));
|
||||
|
||||
const androidAssets = path.join(root, 'android/app/src/main/assets');
|
||||
if (!fs.existsSync(androidAssets)) fs.mkdirSync(androidAssets, { recursive: true });
|
||||
fs.copyFileSync(path.join(www, 'js/vyla-local.js'), path.join(androidAssets, 'vyla-local.js'));
|
||||
Reference in New Issue
Block a user