mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-13 05:37:21 -05:00
Updated
This commit is contained in:
@@ -49,7 +49,7 @@ build:
|
||||
- npm ci
|
||||
|
||||
- |
|
||||
$repos = @('frontend', 'player', 'stream-api', 'live-api-streampk', 'auth-proxy')
|
||||
$repos = @('frontend', 'player', 'stream-api'', 'auth-proxy')
|
||||
$last = @{}
|
||||
if (Test-Path "last-shas.json") {
|
||||
$last = Get-Content last-shas.json | ConvertFrom-Json -AsHashtable
|
||||
|
||||
@@ -6,7 +6,7 @@ const AdmZip = require('adm-zip');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
const BUILD_DIR = path.join(__dirname, 'dist-build');
|
||||
const REPOS = ['frontend', 'player', 'auth-proxy', 'stream-api', 'live-api-streampk'];
|
||||
const REPOS = ['frontend', 'player', 'auth-proxy', 'stream-api'];
|
||||
|
||||
const TEMP_EXTRACT_DIR = path.join(__dirname, 'temp-validation-extract');
|
||||
|
||||
@@ -17,7 +17,6 @@ const REPO_CONFIG = {
|
||||
'player': { name: 'player', branch: 'main' },
|
||||
'auth-proxy': { name: 'auth-proxy', branch: 'main' },
|
||||
'stream-api': { name: 'stream-api', branch: 'main' },
|
||||
'live-api-streampk': { name: 'live-api-streampk', branch: 'main' }
|
||||
};
|
||||
|
||||
function getGitLabToken() {
|
||||
@@ -230,7 +229,6 @@ function validatePayload(zipPath) {
|
||||
'player/index.html',
|
||||
'auth-proxy/server.js',
|
||||
'stream-api/server.js',
|
||||
'live-api-streampk/server.js',
|
||||
'frontend/index.html'
|
||||
];
|
||||
|
||||
|
||||
@@ -15,8 +15,5 @@
|
||||
"PROXY_STREAMS": "true",
|
||||
"ENABLE_DEBUG_ROUTE": "true",
|
||||
"BYPASS_AUTH": "true"
|
||||
},
|
||||
"live-api-streampk": {
|
||||
"PORT": "5000"
|
||||
}
|
||||
}
|
||||
@@ -49,6 +49,5 @@
|
||||
"replace": "http://localhost:3001"
|
||||
}
|
||||
],
|
||||
"stream-api": [],
|
||||
"live-api-streampk": []
|
||||
"stream-api": []
|
||||
}
|
||||
@@ -6,7 +6,6 @@ const REPOS = {
|
||||
frontend: { branch: 'main' },
|
||||
player: { branch: 'main' },
|
||||
'stream-api': { branch: 'main' },
|
||||
'live-api-streampk': { branch: 'main' },
|
||||
'auth-proxy': { branch: 'main' }
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"stream-api": "5eb845865e6633511b2f68a0e1615b2391ddca6e",
|
||||
"live-api-streampk": "6f2f3932360624b473c55becb7a5354b9a0fa804",
|
||||
"auth-proxy": "7660a5a252554af55bf84da219b63a76322d8b85",
|
||||
"player": "4b3a4a6523dbf019abe8f9ec02e689e5d4e3b672",
|
||||
"frontend": "ecab7ccd9fc2011bb78ac37f5b2a478ff25d162d"
|
||||
|
||||
2
main.js
2
main.js
@@ -601,7 +601,6 @@ button:active {
|
||||
await serviceManager.startServices([
|
||||
{ name: 'auth-proxy', relativeDir: 'auth-proxy' },
|
||||
{ name: 'stream-api', relativeDir: 'stream-api' },
|
||||
{ name: 'live-api-streampk', relativeDir: 'live-api-streampk' }
|
||||
]);
|
||||
|
||||
const playerDir = path.join(APPDATA_DIR, 'player');
|
||||
@@ -618,7 +617,6 @@ button:active {
|
||||
{ port: 3001, name: 'player' },
|
||||
{ port: 3000, name: 'auth-proxy' },
|
||||
{ port: 7860, name: 'stream-api' },
|
||||
{ port: 5000, name: 'live-api-streampk' }
|
||||
];
|
||||
for (const { port, name } of healthChecks) {
|
||||
try {
|
||||
|
||||
@@ -46,7 +46,7 @@ class Patcher {
|
||||
}
|
||||
|
||||
purgeOldCode() {
|
||||
const dirs = ['frontend', 'player', 'stream-api', 'live-api-streampk'];
|
||||
const dirs = ['frontend', 'player', 'stream-api'];
|
||||
for (const dir of dirs) {
|
||||
const fullPath = path.join(this.appDataPath, dir);
|
||||
if (fs.existsSync(fullPath)) {
|
||||
@@ -74,7 +74,6 @@ class Patcher {
|
||||
'player/index.html',
|
||||
'auth-proxy/server.js',
|
||||
'stream-api/server.js',
|
||||
'live-api-streampk/server.js',
|
||||
'frontend/index.html'
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user