6261640a92
We were previously using an old version of the Mozilla updater before they added Mozilla signature verification, but it's Intel-only, so we need to build our own version of the current updater with signature verification disabled.
10 lines
393 B
Python
Executable file
10 lines
393 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
# Convert localized app name from "Firefox Software Update" to "Zotero Software Update"
|
|
#
|
|
# plist is UTF-16
|
|
f='updater.app/Contents/Resources/English.lproj/InfoPlist.strings'
|
|
with open(f, 'r', encoding='utf-16') as inputfile:
|
|
newText = inputfile.read().replace('Firefox', 'Zotero')
|
|
with open(f, 'w', encoding='utf-16') as outputfile:
|
|
outputfile.write(newText)
|