FEAT: tray icon initial support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user