mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Fixes
This commit is contained in:
+6
-1
@@ -14,7 +14,7 @@ msbuild VRCX.sln -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConf
|
|||||||
Write-Host "Building Node.js..." -ForegroundColor Green
|
Write-Host "Building Node.js..." -ForegroundColor Green
|
||||||
cd "html"
|
cd "html"
|
||||||
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item -Path "node_modules" -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
npm ci
|
npm ci --loglevel=error
|
||||||
npm run prod
|
npm run prod
|
||||||
cd ..
|
cd ..
|
||||||
Remove-Item -Path "bin\x64\Release\html" -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item -Path "bin\x64\Release\html" -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
@@ -34,4 +34,9 @@ Start-Sleep -Seconds 1
|
|||||||
Move-Item VRCX_Setup.exe ..\$SetupName -Force
|
Move-Item VRCX_Setup.exe ..\$SetupName -Force
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
Write-Host "Creating SHA256-hash..." -ForegroundColor Green
|
||||||
|
$hash = Get-FileHash -Path $SetupName -Algorithm SHA256
|
||||||
|
$hashLine = "$($hash.Hash) $SetupName"
|
||||||
|
$hashLine | Out-File -FilePath "SHA256SUMS.txt" -Encoding ASCII
|
||||||
|
|
||||||
Write-Host "Done!" -ForegroundColor Green
|
Write-Host "Done!" -ForegroundColor Green
|
||||||
+11
-4
@@ -11672,7 +11672,8 @@ speechSynthesis.getVoices();
|
|||||||
var url = new URL(videoUrl);
|
var url = new URL(videoUrl);
|
||||||
if (
|
if (
|
||||||
url.origin === 'https://t-ne.x0.to' ||
|
url.origin === 'https://t-ne.x0.to' ||
|
||||||
url.origin === 'https://nextnex.com'
|
url.origin === 'https://nextnex.com' ||
|
||||||
|
url.origin === 'https://r.0cm.org'
|
||||||
) {
|
) {
|
||||||
url = new URL(url.searchParams.get('url'));
|
url = new URL(url.searchParams.get('url'));
|
||||||
}
|
}
|
||||||
@@ -26669,15 +26670,21 @@ speechSynthesis.getVoices();
|
|||||||
$app.methods.sendNotificationResponse = function (
|
$app.methods.sendNotificationResponse = function (
|
||||||
notificationId,
|
notificationId,
|
||||||
responses,
|
responses,
|
||||||
response
|
responseType
|
||||||
) {
|
) {
|
||||||
if (!Array.isArray(responses) || responses.length === 0) {
|
if (!Array.isArray(responses) || responses.length === 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
var responseData = responses[0].data;
|
var responseData = '';
|
||||||
|
for (var i = 0; i < responses.length; i++) {
|
||||||
|
if (responses[i].type === responseType) {
|
||||||
|
responseData = responses[i].data;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
return API.sendNotificationResponse({
|
return API.sendNotificationResponse({
|
||||||
notificationId,
|
notificationId,
|
||||||
responseType: response,
|
responseType,
|
||||||
responseData
|
responseData
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user