#1
|
|||
|
|||
![]()
Hi guys,
I am looking for an event script to copy and paste a .png file after the update in C:\Users\****\AppData\Local\JDownloader2\themes\standard\org\jdownloader\images\fav. Can you help me? |
#2
|
||||
|
||||
![]()
@xele3628iw: I guess you want to use custom fav icons? This has nothing to do with updates of JDownloader as the fav icon handling auto refreshes them regularly. In case you want to keep custom ones and don't want JDownloader to update/overwrite them, please let me know and I will add support for this
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
![]() Quote:
if you can add support to what I asked for, please do so. |
#4
|
||||
|
||||
![]()
@xele3628iw: Can you please answer my question or explain what exactly you're looking for?
There will be no event for anything like that because 1.) those files are downloaded/updated by JDownloader itself when you're having links in list and 2.) those files are not part of the update. That's why I asked what what exactly you're looking for. If you just want to keep custom icons, then tell me so. JDownloader cannot do copy/paste but only copy/move files but as there is no event for when those files are created/updated, this will not work and will not work as expected because a restart is required in order to use your custom image again.
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
![]() Quote:
|
#6
|
||||
|
||||
![]()
@Jiaz
If he just put a write protection on said file, wouldn't that work for him too? Otherwise the simplest solution I guess would be to introduce an advanced setting "tray icon auto download blacklist".
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#7
|
||||
|
||||
![]()
Nice and simple solution. Will add it exactly like this. In case the file is write protected, it won't be auto refreshed by JDownloader
__________________
JD-Dev & Server-Admin |
#8
|
||||
|
||||
![]()
@xele3628iw: wait for next core update and set the file(s) write protected
__________________
JD-Dev & Server-Admin |
#9
|
||||
|
||||
![]()
Bitte auf das nächste CORE-Update warten!
Please wait for the next CORE-Update! Wartest du auf einen angekündigten Bugfix oder ein neues Feature? Updates werden nicht immer sofort bereitgestellt! Bitte lies unser Update FAQ! | Please read our Update FAQ! --- Are you waiting for recently announced changes to get released? Updates to not necessarily get released immediately! Bitte lies unser Update FAQ! | Please read our Update FAQ! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#10
|
||||
|
||||
![]()
@xele3628iw: Update is live
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
![]()
Thank you very much, I will try what you told me and get back to you.
|
#12
|
|||
|
|||
![]()
Thank you very much guys, it works perfectly
|
![]() |
Thread Tools | |
Display Modes | |
|
|