Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme disappearing after JD2 restart #22

Open
etec-masterofsynapse opened this issue Apr 29, 2020 · 4 comments
Open

Theme disappearing after JD2 restart #22

etec-masterofsynapse opened this issue Apr 29, 2020 · 4 comments

Comments

@etec-masterofsynapse
Copy link

I installed the theme using the backup method, the custom theme method and by copying the file to my JD2 folder. When I start the program the first time all gets applied fine with no problems.
But when I close the program and open it again everything is gone again and its back to the delivered BLACK_EYE theme. Even the white arrows get replaced with "DUMMY" images. Also the custom toolbar at the bottom is gone.

I tried to apply the theme several times now but it never stays.

@etec-masterofsynapse
Copy link
Author

I have got an update to my situation. If I copy over every file from the /config folder of the zip file except the "JDDefaultLookAndFeel.json" and "JDDefaultLookAndFeel.popupborderinsets.json" from the /config/cfg/laf folder, the theme stays. But once I include them everything gets reset.
Why do we need these two files?

@ghost
Copy link

ghost commented Jul 25, 2020

i created a folder inside of the jdownloader2 folder called something like dark theme

inside of that folder i created a folder called darktheme containing the subfolders cfg, libs & themes

go back to the "first" folder aka dark theme and create a bat file that points to that directory. for me, the dark theme resets back to default but only when there's an update. so whenever there's an update I update, quit the prog, run the .bat and voila, back to dark theme.

I've named the .bat "Install Theme.bat" and contains these lines:

robocopy "G:\JDownloader2 Dark Theme\" "C:\root\software\win\JDownloader2" *.* /E

@etec-masterofsynapse
Copy link
Author

i created a folder inside of the jdownloader2 folder called something like dark theme

inside of that folder i created a folder called darktheme containing the subfolders cfg, libs & themes

go back to the "first" folder aka dark theme and create a bat file that points to that directory. for me, the dark theme resets back to default but only when there's an update. so whenever there's an update I update, quit the prog, run the .bat and voila, back to dark theme.

I've named the .bat "Install Theme.bat" and contains these lines:

robocopy "G:\JDownloader2 Dark Theme\" "C:\root\software\win\JDownloader2" *.* /E

Thanks for the info, however my update contains the way how the theme stays even after update. I just want input from the developer why we need the files I mentioned even it is working fine just without them.

@andrewjmetzger
Copy link

andrewjmetzger commented Mar 19, 2021

Hi @etec-masterofsynapse ,

With the use of the built-in Event Scripter, there is now a way to automatically restart JD2 and re-apply the dark theme after each update that does not rely on Batch files or custom shortcuts. See issue #32 for details and installation instructions.

Hope it helps! 🙂 Sorry to necro this issue.
@andrewjmetzger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants