Skip to content

Commit

Permalink
Fix MacOS deprecation failure in get.py
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower committed Sep 19, 2024
1 parent 42a82cd commit 3fa2bae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/package_pico_index.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@
"size": "25494144"
},
{
"host": "arm64-apple-darwin",
"host": "aarch64-apple-darwin",
"url": "https://github.com/earlephilhower/pico-quick-toolchain/releases/download/2.2.0/python3.18-portable-darwin_arm64.tar.gz",
"archiveFileName": "python3.18-portable-darwin_arm64.tar.gz",
"checksum": "SHA-256:ac6ee694191ac4db770e147429a7606b50063110db9ccbaf46e0e5ff8f7dcd20",
Expand Down
2 changes: 1 addition & 1 deletion tools/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def unpack(filename, destination):
if filename.endswith('tar.gz'):
tfile = tarfile.open(filename, 'r:gz')
os.chdir("../system/")
tfile.extractall(destination)
tfile.extractall(destination, filter='fully_trusted')
dirname= tfile.getnames()[0]
elif filename.endswith('zip'):
zfile = zipfile.ZipFile(filename)
Expand Down

0 comments on commit 3fa2bae

Please sign in to comment.