76 Commits
Author SHA1 Message Date
CorpNewt 7e3d1b75f6 Binary plist integer tweaks 2025-12-13 17:36:59 -06:00
CorpNewt a6d94acdf0 Implement limits to chunk size, rate, and rate of change 2025-10-24 16:49:43 -05:00
CorpNewt 161f4d174e Try to adjust chunk size based on internet speed 2025-10-24 15:08:28 -05:00
CorpNewt 9ce7f5a02d Update plist.py from pymodules 2025-06-22 10:12:31 -05:00
CorpNewt 25c411355f Bring to feature parity 2025-06-01 10:05:46 -05:00
CorpNewt 6d0c238e5d Update utils.py 2025-01-29 18:18:42 -06:00
unknown fb142656a8 Default allow_resume to False in downloader.py 2025-01-21 08:24:13 -06:00
CorpNewt db698f132e Update downloader.py 2025-01-20 12:16:41 -06:00
CorpNewt 5fcd6ee1cb Implement rudimentary download resume functionality 2025-01-14 14:19:30 -06:00
testroyer 485dd7394b Update diskwin.py
Fixed the import error in line 8 while importing the run model with python 3.11.0
2024-09-15 18:41:00 +03:00
CorpNewt ce3cb9420b Remove unneeded .lower() 2024-08-16 21:24:55 -05:00
CorpNewt cc6db2d46a Add Windows hack for incorrect __main__ case 2024-08-16 21:19:57 -05:00
CorpNewt bc53a56f6b Print first, set dl speed update freq, handle KeyboardInterrupts 2024-08-14 03:02:22 -05:00
CorpNewt 37c14f1133 Wrap up progress checks in multiprocessing.Process() 2024-07-23 13:21:48 -05:00
CorpNewt c671f066aa Flush sys.stdout after writing 2024-07-15 08:57:07 -05:00
CorpNewt 3ef65d1d1e Fix formatting issue in python 2 2024-07-14 14:39:14 -05:00
CorpNewt 738e324f56 Fix issues with python 2 2024-07-14 14:38:14 -05:00
CorpNewt 32aef451de Calculate time remaining, consider the last 1024 packets 2024-07-14 14:11:01 -05:00
CorpNewt db60668857 Show simple progress bar and approximate download speed 2024-07-10 17:43:12 -05:00
CorpNewt 9bb16b1e1c Compare downloaded size to Content-Length if available 2023-12-08 02:49:49 -06:00
Jakub Jirutka 36e51f43f7 Log to stderr when running in non-interactive mode
So we can use stdout for data, e.g. printing product metadata in JSON.
2023-11-22 01:26:31 +01:00
Jakub Jirutka dfc6e2feb8 Deduplicate printing empty line after head 2023-11-22 01:26:30 +01:00
Jakub Jirutka 1e82ba0813 Add support for running in non-interactive mode
- Exits with non-zero exit status on errors.
- Does not hang on prompts.
- Just prints text without fancy terminal stuff.
2023-11-22 01:25:57 +01:00
CorpNewt 1ef6a579e4 More WMIC and PowerShell fun
If we have a valid WMIC path, first try using it to gather information - if we don't get any disks that way, or we don't have a valid WMIC path, fall back on PowerShell.  This should hopefully fix the Windows 11 issues.
2023-05-25 07:49:34 -05:00
CorpNewt 054fa19306 Try WMIC first, fall back on PowerShell 2023-05-24 19:17:21 -05:00
CorpNewt f0461cbaab Update plist.py from pymodules 2022-10-15 15:25:16 -05:00
CorpNewt afef3f3139 Update plist.py from pymodules 2022-09-20 18:51:38 -05:00
CorpNewt 8a8e918e3d Update downloader.py from pymodules 2022-04-02 09:50:55 -05:00
CorpNewt 9a683e716f Fix UAC elevation issues with space in path 2020-12-29 12:03:55 -06:00
CorpNewt a7b5495417 Update plist.py from pymodules 2020-10-16 11:01:55 -05:00
CorpNewt 3d87cf189e Update downloader.py from pymodules 2020-10-04 18:21:10 -05:00
CorpNewt 620061df63 Update plist.py, downloader.py from pymodules 2020-10-04 17:33:54 -05:00
Dhinak G 996d067a38 Fix gzipped results
Yes i sneaked size into here shh
2020-10-01 15:33:38 -04:00
Rootspring 735328fb0d Python 3.9 compat: Python 3.9 removed the use_builtin_types parameter used in plist.py 2020-07-31 12:58:43 +05:30
C.K. Tse fd48cc8b44 Clean up https certificate verification logic by using reasonable defaults for macOS 2020-06-07 13:59:27 +08:00
CorpNewt 58ab64c42f Update chunk size per bentaylornz 2020-05-13 06:15:26 -05:00
CorpNewt cce8677e57 Update utils.py, plist.py from pymodules 2020-04-29 15:35:46 -05:00
Christian Clauss 988a5d8d2c Minor optimization ;-) 2020-04-13 10:52:00 +02:00
Christian Clauss 49e07bcb2f xrange() was removed from Python on 1/1/2020
Also simplify by defining basestring and unicode in Python 3

Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).

Bare exceptions: https://realpython.com/the-most-diabolical-python-antipattern

__basestring__ and __unicode__ was removed in Python 3 because all str are Unicode utf-8.
2020-04-13 10:44:05 +02:00
CorpNewt a01c885a59 Update run.py from pymodules 2020-03-16 11:47:18 -05:00
CorpNewt fe2aa87897 Update run.py, plist.py from pymodules 2020-03-16 11:29:48 -05:00
CorpNewt 392e80d814 Queue idling fixes 2020-03-16 10:23:56 -05:00
CorpNewt aaf08331ff Update utils.py 2020-02-11 21:53:28 -06:00
CorpNewt b6dfc2dd1f Update disk.py from pymodules 2019-09-24 14:40:15 -05:00
CorpNewt ce6f62c388 Fix comment 2019-09-07 15:20:35 -05:00
CorpNewt 23b4c8c932 Expand get_size() function 2019-09-07 15:16:41 -05:00
CorpNewt 1d357c00cb Update plist.py from pymodules 2019-07-02 09:51:23 -05:00
CorpNewt 789d7026a3 Add files via upload 2019-07-01 08:57:43 -05:00
CorpNewt edbd9023d9 Delete BOOTICE_x64_v1.3.4.0.exe 2019-07-01 08:56:53 -05:00
CorpNewt d425bcad72 Add files via upload 2019-07-01 08:53:54 -05:00