20 Commits
Author SHA1 Message Date
CorpNewtandGitHub 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
CorpNewtandGitHub ce2ef58bb5 Update gibMacOS.py 2023-12-06 05:05:51 -06:00
CorpNewtandGitHub 3efa81185a Correct window resizing and remove extra newline 2023-11-22 09:29:54 -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
Florin9doi cc3aeae8d1 Fix the empty lines 2023-05-01 13:07:57 +03:00
CorpNewtandGitHub b4f353ebf0 Fix typo
Fixed "Only Print URLs" in main menu reflecting the "Toggle Recovery-Only" setting incorrectly.
2022-08-05 00:28:55 -05:00
CorpNewtandGitHub 57e9d490da Save user preferences and improve output 2022-07-15 13:55:02 -05:00
CorpNewtandGitHub 602a1e5d78 Add build number to output folder 2022-07-14 09:16:05 -05:00
CorpNewtandGitHub 46a95c2b3e Fix some macOS version detection issues 2022-07-06 20:59:20 -05:00
CorpNewtandGitHub fd1c06faf1 Fix padding on macOS 2022-04-02 09:47:33 -05:00
CorpNewtandGitHub cd1a2cd866 Update resizing code for Windows 2022-04-02 09:42:22 -05:00
CorpNewtandGitHub 8f5fac9275 Update Max OS and url building code 2022-02-24 05:58:20 -06:00
CorpNewtandGitHub 451d188163 Rename gibMacOS.command to gibMacOS.py 2022-02-06 11:18:38 -06:00