File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Returns data for the latest update
88
99## api/content/SW_DLT.py
1010
11- Returns latest version of the internal script
11+ Returns latest stable version of the internal script
1212
1313## api/dev_content/SW_DLT.py
1414
Original file line number Diff line number Diff line change 22# Official release on GitHub, avoid unknown sources
33
44import urllib .parse
5- import contextlib
65import subprocess
6+ import importlib
77import datetime
88import hashlib
99import shutil
@@ -78,6 +78,8 @@ def update_check():
7878
7979 if current_time - last_check < 600 :
8080 subprocess .run ("pip -q install gallery-dl yt-dlp --disable-pip-version-check --upgrade" )
81+ #yt-dlp is reloaded here to avoid issues after updates
82+ importlib .reload (yt_dlp )
8183
8284 show_progress ("util" , 2 , 2 )
8385
@@ -295,6 +297,3 @@ def main():
295297
296298if __name__ == "__main__" :
297299 subprocess .run ("open " + main ())
298- # Post-run cleanup
299- subprocess .run ("deactivate" )
300- subprocess .run ("clear" )
Original file line number Diff line number Diff line change 11{
22 "result" : " success" ,
3- "version" : " 4.0.4 " ,
4- "url" : " https://www.icloud.com/shortcuts/de2154bb2c8c42d192c15b3c492c36e1 " ,
5- "notes" : " 4.0.4 : Fixed environment refresh issue happening on new installations " ,
6- "release" : " 2025-03-08 "
3+ "version" : " 4.1 " ,
4+ "url" : " https://www.icloud.com/shortcuts/abac2cfafc3a46b28c8c706a9696153d " ,
5+ "notes" : " 4.1 : Fixed issue with yt-dlp module loading during some background updates " ,
6+ "release" : " 2025-09-25 "
77}
You can’t perform that action at this time.
0 commit comments