Fix -jsdebugger flag on Linux
https://groups.google.com/g/zotero-dev/c/h4_UZDml-10/m/DjQCcl6PAAAJ
This commit is contained in:
parent
532ae729c0
commit
34eb8205d1
1 changed files with 6 additions and 0 deletions
|
@ -328,6 +328,12 @@ if [ $DEVTOOLS -eq 1 ]; then
|
|||
if [ $UPDATE_CHANNEL != "beta" ]; then
|
||||
echo 'pref("devtools.debugger.prompt-connection", false);' >> $prefs_file
|
||||
fi
|
||||
|
||||
# Use 'zotero' instead of 'zotero-bin' when passing -jsdebugger flag on Linux, since we need
|
||||
# that to pass application.ini
|
||||
replace_line 'let command = Services.dirsvc.get\("XREExeF", Ci.nsIFile\).path;' \
|
||||
'let command = Services.dirsvc.get("XREExeF", Ci.nsIFile).path; command = command.replace("zotero-bin", "zotero");' \
|
||||
chrome/devtools/modules/devtools/client/framework/browser-toolbox/Launcher.sys.mjs
|
||||
fi
|
||||
|
||||
# 5.0.96.3 / 5.0.97-beta.37+ddc7be75c
|
||||
|
|
Loading…
Add table
Reference in a new issue