Commit graph

253 commits

Author SHA1 Message Date
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
8e8ddd3b82
Fix issues with python 2, pause after printing JSON in interactive mode 2024-07-14 14:38:50 -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
e66df57739
Fix typo 2024-07-10 17:55:11 -05:00
CorpNewt
f4d09d4157
Verify download result before assuming success 2024-07-10 17:52:20 -05:00
CorpNewt
db60668857
Show simple progress bar and approximate download speed 2024-07-10 17:43:12 -05:00
CorpNewt
0749880ad1
Update gibMacOS.command 2024-03-23 12:34:48 -05:00
CorpNewt
f0db386238
Update BuildmacOSInstallApp.command 2024-03-23 12:34:28 -05:00
CorpNewt
a86022adb7 Line ending woes 2024-03-13 09:28:01 -05:00
CorpNewt
12de8f78a3
Updates for python.org gzip compression 2024-03-13 04:18:50 -05:00
CorpNewt
2a60cda8dd
Updates for python.org gzip compression 2024-03-13 04:18:42 -05:00
CorpNewt
a78eaf749f
Update gibMacOS.command 2024-03-11 18:14:19 -05:00
CorpNewt
01d703fd8f
Update BuildmacOSInstallApp.command 2024-03-11 18:14:11 -05:00
CorpNewt
236a08fda7
Assume non-interactive with -p or -v check -v with -b
--product and --version should already target only a single release and auto download/print URLs, so there's no need to have the user press a key after.

--build always requires a --version to function, so let's check that before trying to load the products in order to bail early.
2024-03-08 12:48:13 -06:00
CorpNewt
c01e345f33
Prioritize 7z in PATH, fix invalid escape sequence 2024-03-01 22:24:06 -06:00
CorpNewt
e7a071dfbe
Create .gitattributes 2024-02-09 10:54:40 -06:00
CorpNewt
7f9392a29f
Update MakeInstall.bat 2024-02-09 10:11:50 -06:00
CorpNewt
a5eccefeeb
Update gibMacOS.bat 2024-02-09 10:11:42 -06:00
CorpNewt
147f3bc7fc
Update MakeInstall.bat 2024-02-07 15:50:29 -06:00
CorpNewt
4fdedc8430
Update gibMacOS.bat 2024-02-07 15:50:22 -06:00
CorpNewt
c9d67b81a5
Update MakeInstall.bat 2024-02-07 15:29:35 -06:00
CorpNewt
abc5b32ffa
Update gibMacOS.bat 2024-02-07 15:29:28 -06:00
CorpNewt
eadcf01e39
Update BuildmacOSInstallApp.command 2024-02-07 14:51:13 -06:00
CorpNewt
e5158a13d2
Update gibMacOS.command 2024-02-07 14:51:04 -06:00
CorpNewt
9065d3760d
Update MakeInstall.bat 2024-02-07 14:15:56 -06:00
CorpNewt
a434e1bbf1
Update gibMacOS.bat 2024-02-07 14:15:46 -06:00
CorpNewt
e76d0edf81
Check for and open InstallAssistant.pkg if passed 2023-12-14 18:09:02 -06:00
CorpNewt
9bb16b1e1c
Compare downloaded size to Content-Length if available 2023-12-08 02:49:49 -06:00
CorpNewt
ce2ef58bb5
Update gibMacOS.py 2023-12-06 05:05:51 -06:00
CorpNewt
3efa81185a
Correct window resizing and remove extra newline 2023-11-22 09:29:54 -06:00
CorpNewt
18f073a08a
Merge pull request #286 from jirutka/build-option
Allow to search product by build and Device ID, add non-interactive mode and support for printing metadata in JSON
2023-11-22 09:25:10 -06:00
Jakub Jirutka
880d7f6319 Allow to override download (output) directory using --download-dir 2023-11-22 01:34:24 +01:00
Jakub Jirutka
f2aa823496 Fix shebang to python3
Python 2 is dead and the "python" command with it. macOS doesn't ship
Python 2 anymore and doesn't provide "python" even as a symlink.
2023-11-22 01:26:31 +01:00
Jakub Jirutka
11bfad8304 Add support for printing product metadata in JSON 2023-11-22 01:26:31 +01: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
Jakub Jirutka
a93490cf99 Allow to filter products by Device ID using --device-id option
This allows to easily filter only builds supporting x86_64.
2023-11-22 01:25:56 +01:00
Jakub Jirutka
9018aa6e5b Allow to filter versions by build number using --build option 2023-11-22 01:25:31 +01:00
CorpNewt
62860db43b
Allow for RecoveryImage.dmg in addition to BaseSystem.dmg 2023-11-04 13:59:00 -05:00
CorpNewt
e8a8f8e20a
Better handling of DUET files 2023-10-29 00:24:46 -05:00
CorpNewt
1c4676d925
Bug fixes, add F option to continue without formatting target disk 2023-10-23 15:21:06 -05:00
CorpNewt
bdd4029907
Use Dids' Clover builds if r <= 5122, clarify main menu example 2023-10-23 14:32:21 -05:00
CorpNewt
8f8cf2ff75
Update Clover approaches, allow local archives via L option 2023-10-21 19:53:46 -05:00