Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The command file cannot run correctly and seems to be stuck at line 15 of brigadier.py #67

Open
wants to merge 49 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
f9df704
Update for py2/py3 compatibility
corpnewt Sep 14, 2019
efa8407
Add double-click start scripts for macOS/Windows
corpnewt Sep 14, 2019
67c88b8
Update sucatalog and 7z urls, add latest option
corpnewt Sep 15, 2019
dc3f8e3
Expand python detection
corpnewt Sep 15, 2019
4814a42
Fix current script dir calculation
corpnewt Sep 26, 2019
764d490
Cast as list instead of using .keys()
corpnewt Oct 4, 2019
16a1d0a
Fix for spaces in py paths
corpnewt Oct 8, 2019
9b46eaf
Update local PATH var before checking py version
corpnewt Oct 15, 2019
02d8968
Update brigadier.bat
corpnewt Nov 2, 2019
4b14257
Use full path to wmic
corpnewt Dec 18, 2019
168ad99
Add files via upload
corpnewt Dec 18, 2019
ae6b948
Update brigadier.bat
corpnewt Apr 2, 2020
60ed607
Fix a typo in the readme
nagleaidan Jun 7, 2020
df7acfc
[+] Add executable permissions to .command file
vinzdef Jun 8, 2020
0943b7d
Update brigadier.bat
corpnewt Jul 3, 2020
d57edb7
Update brigadier.bat
corpnewt Jul 3, 2020
620c294
Update brigadier.bat
corpnewt Jul 5, 2020
2a0aafe
Update brigadier.bat
corpnewt Jul 8, 2020
53596d7
Update brigadier.bat
corpnewt Jul 8, 2020
7e8cdba
Add support for py launcher
corpnewt Jul 15, 2020
ca635e2
Update brigadier.bat
corpnewt Jul 15, 2020
81385d5
Migrate to downloader.py for inline gzip extract
corpnewt Oct 4, 2020
22092a6
Add files via upload
corpnewt Oct 4, 2020
be54353
Update downloader.py from pymodules
corpnewt Oct 4, 2020
19f7776
Merge pull request #1 from nagleaidan/patch-1
corpnewt Oct 4, 2020
2d08c60
Merge pull request #2 from vinzdef/master
corpnewt Oct 4, 2020
fb10084
Get bytes when needed
corpnewt Oct 5, 2020
74df07f
Update brigadier.bat
corpnewt Dec 29, 2020
db33c43
Update brigadier.command
corpnewt May 7, 2021
307318f
Code clean - install 7z interactive if auto fails
corpnewt Dec 11, 2021
1b3c3aa
Update bash starter
corpnewt Feb 6, 2022
4f18871
Omit whereis check
corpnewt Feb 6, 2022
6e7bfbd
Update downloader.py from pymodules
corpnewt Apr 2, 2022
62b1b71
Check for python3 stub on 10.15+
corpnewt May 10, 2022
725648e
Fix detection typo
corpnewt May 10, 2022
e439678
Only set 7z properties when run on Windows
corpnewt May 26, 2022
31e4363
Code cleanup and fixes
corpnewt May 30, 2022
fba81b8
Update brigadier.bat
corpnewt Feb 7, 2024
2d2a142
Update brigadier.command
corpnewt Feb 7, 2024
22239fa
Update brigadier.bat
corpnewt Feb 7, 2024
16949e5
Update brigadier.bat
corpnewt Feb 7, 2024
dcc527a
Update brigadier.bat
corpnewt Feb 9, 2024
bf86cd4
Create .gitattributes
corpnewt Feb 9, 2024
b544d1b
Update brigadier.command
corpnewt Mar 11, 2024
4f04221
Updates for python.org gzip compression
corpnewt Mar 13, 2024
b4ffc18
Line ending woes
Mar 13, 2024
b1a1a42
Update brigadier.command
corpnewt Mar 23, 2024
b76ba74
Fix invalid escapes
corpnewt Sep 16, 2024
d3880df
Update downloader.py
corpnewt Sep 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ensure all .bat scripts use CRLF line endings
# This can prevent a number of odd batch issues
*.bat text eol=crlf
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Windows- and OS X-compatible Python script that fetches, from Apple's or your software update server, the Boot Camp ESD ("Electronic Software Distribution") for a specific model of Mac. It unpacks the multiple layers of archives within the flat package and if the script is run on Windows with the `--install` option, it also runs the 64-bit MSI installer.

On Windows, the archives are unpacked using [7-Zip](http://www.7-zip.org), and the 7-Zip MSI is downloaded and installed, and removed later if Brigadier installed it. This tool used to use [dmg2img](http://vu1tur.eu.org/tools/) to perform the extraction of files from Apple's `WindowsSupport.dmg` file, but more recent versions of 7-Zip have included more completely support for DMGs, so dmg2img seems to be no longer needed.
On Windows, the archives are unpacked using [7-Zip](http://www.7-zip.org), and the 7-Zip MSI is downloaded and installed, and removed later if Brigadier installed it. This tool used to use [dmg2img](http://vu1tur.eu.org/tools/) to perform the extraction of files from Apple's `WindowsSupport.dmg` file, but more recent versions of 7-Zip have included more complete support for DMGs, so dmg2img seems to be no longer needed.

This was written for two reasons:

Expand Down
Loading