mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-13 21:57:21 -05:00
removed launch button
This commit is contained in:
@@ -364,7 +364,6 @@ const LINK_HANDLER_SCRIPT: &str = r##"
|
||||
}
|
||||
|
||||
.vyla-nav-btn:hover {
|
||||
transform: scale(1.15) !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -199,36 +199,6 @@
|
||||
<div class="progress-fill" id="progress-fill"></div>
|
||||
</div>
|
||||
|
||||
<div class="button-group" id="launch-actions" style="display: none; margin-top: 8px;">
|
||||
<div class="glass-surface glass-surface--fallback liquid-glass-btn">
|
||||
<svg class="glass-surface__filter" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<filter id="glass-filter-launch" color-interpolation-filters="sRGB" x="0%" y="0%"
|
||||
width="100%" height="100%">
|
||||
<feImage class="fe-image" x="0" y="0" width="100%" height="100%"
|
||||
preserveAspectRatio="none" result="map" />
|
||||
<feDisplacementMap class="redchannel" in="SourceGraphic" in2="map" result="dispRed" />
|
||||
<feColorMatrix in="dispRed" type="matrix"
|
||||
values="1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" result="red" />
|
||||
<feDisplacementMap class="greenchannel" in="SourceGraphic" in2="map"
|
||||
result="dispGreen" />
|
||||
<feColorMatrix in="dispGreen" type="matrix"
|
||||
values="0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0" result="green" />
|
||||
<feDisplacementMap class="bluechannel" in="SourceGraphic" in2="map" result="dispBlue" />
|
||||
<feColorMatrix in="dispBlue" type="matrix"
|
||||
values="0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0" result="blue" />
|
||||
<feBlend in="red" in2="green" mode="screen" result="rg" />
|
||||
<feBlend in="rg" in2="blue" mode="screen" result="output" />
|
||||
<feGaussianBlur class="gaussianBlur" in="output" stdDeviation="0" />
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
||||
<div class="glass-surface__content">
|
||||
<button class="glass-button" id="btn-launch-vyla">Launch Vyla Home</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="button-group" id="update-actions" style="display: none;">
|
||||
<div class="glass-surface glass-surface--fallback liquid-glass-btn">
|
||||
<svg class="glass-surface__filter" xmlns="http://www.w3.org/2000/svg">
|
||||
@@ -570,17 +540,6 @@ void main() {
|
||||
});
|
||||
}
|
||||
|
||||
const launchActionsEl = document.getElementById("launch-actions");
|
||||
const btnLaunch = document.getElementById("btn-launch-vyla");
|
||||
let readyUrl = null;
|
||||
|
||||
btnLaunch.addEventListener("click", () => {
|
||||
if (readyUrl) {
|
||||
setStatus("Launching...");
|
||||
window.location.href = readyUrl;
|
||||
}
|
||||
});
|
||||
|
||||
async function initTauriEvents() {
|
||||
const eventApi = window.__TAURI__?.event || window.__TAURI_INTERNALS__;
|
||||
if (!eventApi || typeof eventApi.listen !== 'function') {
|
||||
@@ -616,12 +575,8 @@ void main() {
|
||||
eventApi.listen("ready", (e) => {
|
||||
const data = e.payload || e;
|
||||
if (data && data.url) {
|
||||
readyUrl = data.url;
|
||||
if (progressTrack) progressTrack.style.display = "none";
|
||||
if (actionsEl) actionsEl.style.display = "none";
|
||||
if (statusEl) statusEl.innerHTML = "";
|
||||
currentStatusText = "";
|
||||
if (launchActionsEl) launchActionsEl.style.display = "flex";
|
||||
setStatus("Launching...");
|
||||
window.location.href = data.url;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user