FEAT: tray icon initial support

This commit is contained in:
valerio
2026-03-13 20:13:59 +01:00
parent 80fa105e31
commit 13f4cdb3f9
11 changed files with 352 additions and 46 deletions
+3 -1
View File
@@ -4,6 +4,8 @@ import { currentSettings } from './settings';
import { writable } from 'svelte/store';
import { get } from 'svelte/store';
const RELEASES_URL = 'https://download.blender.org/release/';
/**
* @typedef {Object} FileLink
* @property {string} version - The version string (e.g., "5.0.0")
@@ -32,7 +34,7 @@ export async function getBlenderReleases() {
const currentArch = settings.defaultArch;
try {
// Fetch the HTML page
const response = await fetch('https://download.blender.org/release/');
const response = await fetch(RELEASES_URL);
const html = await response.text();
// Parse the HTML