mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
fix: bring back theme features for Linux
This commit is contained in:
10
main.js
10
main.js
@@ -117,14 +117,8 @@ app.whenReady().then(async () => {
|
|||||||
|
|
||||||
setSplashProgress(2); // Loading themes
|
setSplashProgress(2); // Loading themes
|
||||||
|
|
||||||
// TODO: Patch this, i disable this features for the moment
|
initUserThemes();
|
||||||
// Themes are currently disabled if we are not on Windows
|
await initThemes(userThemesPath);
|
||||||
if(isWindows){
|
|
||||||
initUserThemes();
|
|
||||||
await initThemes(userThemesPath);
|
|
||||||
} else {
|
|
||||||
logger.info(`OS is ${process.platform}, Skipping themes loading`)
|
|
||||||
}
|
|
||||||
|
|
||||||
setSplashProgress(3); // Almost ready
|
setSplashProgress(3); // Almost ready
|
||||||
await createMainWindow();
|
await createMainWindow();
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user