diff --git a/update-on-ox b/update-on-ox index 7c44a4997..f09ff88dc 100755 --- a/update-on-ox +++ b/update-on-ox @@ -15,7 +15,7 @@ if False: dmg = sys.argv[-1] mp = tempfile.mkdtemp() atexit.register(os.rmdir, mp) - subprocess.check_call(f'hdiutil attach {dmg} -mountpoint {mp}'.split()) + subprocess.check_call(f'diskutil image attach --mountPoint {mp} {dmg}'.split()) try: os.chdir(mp) for app in glob.glob('*.app'): @@ -25,7 +25,7 @@ if False: subprocess.check_call(f'ditto -v {app} {d}'.split()) finally: os.chdir('/') - subprocess.check_call(f'hdiutil detach {mp}'.split()) + subprocess.check_call(f'diskutil eject {mp}'.split()) # EOF_REMOTE