@@ -130,16 +130,16 @@ def unpack_sdl(version: str) -> Path:
130130 sdl_path /= "SDL3.framework"
131131 if sdl_path .exists ():
132132 return sdl_path
133- sdl_arcive = get_sdl_file (version )
134- print (f"Extracting { sdl_arcive } " )
135- if sdl_arcive .suffix == ".zip" :
136- with zipfile .ZipFile (sdl_arcive ) as zf :
133+ sdl_archive = get_sdl_file (version )
134+ print (f"Extracting { sdl_archive } " )
135+ if sdl_archive .suffix == ".zip" :
136+ with zipfile .ZipFile (sdl_archive ) as zf :
137137 zf .extractall ("dependencies/" )
138138 elif sys .platform == "darwin" :
139- assert sdl_arcive .suffix == ".dmg"
140- subprocess .check_call (["hdiutil" , "mount" , sdl_arcive ])
139+ assert sdl_archive .suffix == ".dmg"
140+ subprocess .check_call (["hdiutil" , "mount" , sdl_archive ])
141141 subprocess .check_call (["mkdir" , "-p" , sdl_dir ])
142- subprocess .check_call (["cp" , "-r" , "/Volumes/SDL3/SDL3.framework" , sdl_dir ])
142+ subprocess .check_call (["cp" , "-r" , "/Volumes/SDL3/SDL3.xcframework/macos-arm64_x86_64/SDL3. framework" , sdl_dir ])
143143 subprocess .check_call (["hdiutil" , "unmount" , "/Volumes/SDL3" ])
144144 return sdl_path
145145
0 commit comments