Weilbyte / PVEDiscordDark

A Discord-like dark theme for the Proxmox Web UI.
MIT License
2.54k stars 240 forks source link

No dark theme after update pve #127

Closed weckie closed 2 years ago

weckie commented 2 years ago

Hi,

Each time i update the pve the dark theme is gone. Is there a fix for ?

kind regards, Maarten Weckhuysen

Cooba13 commented 2 years ago

Hello, nope, when new pve update is performed it will overwrite theme files. That means you have to install theme again.

Edit: theme is installed by overwriting original files, so ... you know :)

Mag1cByt3s commented 2 years ago

Hi I have the same problem.

Is there a way to trigger the script after each update somehow ?

Weilbyte commented 2 years ago

Script doesn't have that functionality but you can write a cronjob or apt hook that checks the template file and runs the install script. The utility's status command will tell you if the theme is installed or not, and if not your script can simply just do an install.

Mag1cByt3s commented 2 years ago

Ok I will try it