coolstar / Odyssey-bootstrap

Chimera bootstrap
107 stars 41 forks source link

Fix Odysseyra1n deploy script on M1 #30

Closed crystall1nedev closed 2 years ago

crystall1nedev commented 3 years ago

M1 returns arm64 with uname -m, wheras iOS devices return the model identifier of the device.

crystall1nedev commented 3 years ago

This fixes #28

hopolapopola commented 3 years ago

another way would be to check for the identifier itself, i.e. for iPhone/iPad/iPod since afaik this can't strap an apple tv

crystall1nedev commented 3 years ago

another way would be to check for the identifier itself, i.e. for iPhone/iPad/iPod since afaik this can't strap an apple tv

This is true. I just found it to be less complicated to use !arm64 and !x86_64 because all Macs return the CPU architecture with uname -m.

ghost commented 3 years ago

I forgot this PR exists, so I made one too. I went for a different approach (checking sw_vers).

afaik this can't strap an apple tv

It kinda can, though it's partially broken using the iOS strap.

m1stadev commented 2 years ago

Preferred the approach of #40, so closing this.