Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Elaina69 committed Oct 9, 2024
1 parent a63d36c commit 38f7c7a
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icon/plugins-icons/button-refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions src/theme/homepage.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const error = (message, ...args) => console.error(CONSOLE_STYLE.prefix + '%c ' +
let datapath = new URL("..", import.meta.url).href;
const iconFolder = `${datapath}assets/icon/`;
const bgFolder = `${datapath}assets/backgrounds/`;
let thisVersion, CdnKey;
let CdnKey;

DataStore.set("Font-folder", `${datapath}assets/fonts/`);
DataStore.set("Plugin-folder-name", getThemeName());
Expand All @@ -32,7 +32,7 @@ const defaultData = {
"wallpaper-index": 0,
"audio-index": 0,
"wallpaper-volume": 0.0,
"audio-volume": 0.3,
"audio-volume": 0.15,
'mute-audio': false,
"Playback-speed": 100,
"Audio-currentTime": 0,
Expand Down Expand Up @@ -106,8 +106,7 @@ else {
}

if (CdnKey == LocalKey) {
//thisVersion = (await import("https://unpkg.com/elaina-theme-data@latest/src/update/version.js")).default;
DataStore.set("Theme-version", thisVersion);
DataStore.set("Theme-version", (await import("https://unpkg.com/elaina-theme-data@latest/src/update/version.js")).default);
if (!DataStore.get("Change-CDN-version")) {
const cdnVersion = await (await fetch('https://unpkg.com/elaina-theme-data@latest/package.json')).json();
DataStore.set("Cdn-version", cdnVersion["version"]);
Expand Down

0 comments on commit 38f7c7a

Please sign in to comment.