installing Zotero and Zotero beta side-by-side on MacOS

125 views
Skip to first unread message

Emiliano Heyns

unread,
Aug 9, 2023, 8:47:26 AM8/9/23
to zotero-dev
Just a quicky script I wanted to share, this will grab the latest beta and install it as Zotero-beta so you can run beta and release side by side:

#!/bin/bash

rm -f zotero-beta.dmg
curl -L -o zotero-beta.dmg "https://www.zotero.org/download/client/dl?platform=mac&channel=beta"
hdiutil attach zotero-beta.dmg
rm -rf /Applications/Zotero-beta.app
cp -r /Volumes/Zotero/Zotero.app /Applications/Zotero-beta.app
hdiutil detach /Volumes/Zotero

Emiliano Heyns

unread,
Dec 30, 2023, 8:44:28 PM12/30/23
to zotero-dev
This has stopped working for me -- the resulting binary is always immediately killed with -9. Anyone have any clues? If I manually cop Zotero.app from the dmg to a temporary folder, rename it to Zotero-beta.app, and then move it into /Applications, it does work.
Reply all
Reply to author
Forward
0 new messages