JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 25.07.2021, 20:19
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 664
Default Beim nächsten Reconnect ein Update automatisch installieren?

Läßt sich einrichten, dass JD, falls ein Update erhältlich ist, beim nächsten Reconnect automatisch er das Update installiert, dazu neu startet?
__________________
Aktuelles Windows
Reply With Quote
  #2  
Old 26.07.2021, 13:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@Dockel: Einfach mal hier schauen, siehe https://board.jdownloader.org/showthread.php?t=70525
Ich bin mir sicher, das es schon ein solches Skript als Hook für *Nach Reconnect* gibt. Ansonsten mal mgpai um Rat/Hilfe fragen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 26.07.2021, 13:46
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 664
Default

OK, werde ich machen, vielen Dank, auch für den Link.
__________________
Aktuelles Windows
Reply With Quote
  #4  
Old 03.08.2021, 17:20
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Code:
/*
    Update after reconnect
    Trigger: After a reconnect
*/

if (
    result == "SUCCESSFUL" &&
    callAPI("update", "isUpdateAvailable")
) {
    callAPI("update", "restartAndUpdate");
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 01:55.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.