Skip to content

Commit

Permalink
fix: Add What Personal Computer discs (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Oct 7, 2024
1 parent 2b35eb1 commit 91ec81a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions libraries/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ sources:
- https://archive.org/download/tucows_321799_Dighandler/DH813.zip
- https://archive.org/download/tucows_322115_Speaker/Speaker.zip
- https://archive.org/download/tucows_325813_Pebbles_on_the_move/Pebbles.zip
- https://archive.org/download/wpc-0296/wpc-0296.iso
- https://archive.org/download/wpc-0396/wpc-0396.iso
- https://archive.org/download/wpc-0696/wpc-0696.iso
- https://archive.org/download/wpc-0996/wpc-0996.iso
- https://archive.org/download/wpc-1296/wpc-1296.iso

overlays:
- ../overlays
Expand Down
7 changes: 6 additions & 1 deletion tools/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ def extract_iso(path, destination_path):
iso = pycdlib.PyCdlib()
iso.open(path)

pathname = 'joliet_path'
pathname = 'iso_path'
if iso.has_udf():
pathname = 'udf_path'
elif iso.has_joliet():
pathname = 'joliet_path'

start_path = '/'
root_entry = iso.get_record(**{pathname: start_path})

Expand Down

0 comments on commit 91ec81a

Please sign in to comment.