-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolbox v2 #331
Comments
In Toolbox v2, script is changed but replaced just one word from 'ideaargs' to 'intellij_args'
#!/bin/bash
#Generated by JetBrains Toolbox 1.28.1.15219
declare -a ideargs=()
declare -- wait=""
for o in "$@"; do
if [[ "$o" = "--wait" || "$o" = "-w" ]]; then
wait="-W"
o="--wait"
fi
if [[ "$o" =~ " " ]]; then
ideargs+=("\"$o\"")
else
ideargs+=("$o")
fi
done
open -na "~~" $wait --args "${ideargs[@]}"
#!/bin/bash
#Generated by JetBrains Toolbox 2.0.2.16660
declare -a intellij_args=()
declare -- wait=""
for o in "$@"; do
if [[ "$o" = "--wait" || "$o" = "-w" ]]; then
wait="-W"
o="--wait"
fi
if [[ "$o" =~ " " ]]; then
intellij_args+=("\"$o\"")
else
intellij_args+=("$o")
fi
done
open -na "~~" $wait --args "${intellij_args[@]}" So I just fix findProduct.js (in alfred-jetbrains v1.9.7) and solved error // Toolbox case
const patternV1 = new RegExp(
'open\\s-(n)?a\\s"(.*)"(?:\\s\\$wait)?(\\s--args)\\s"\\$(?:{ideargs\\[)?@(?:]})?"'
);
const patternV2 = new RegExp(
'open\\s-(n)?a\\s"(.*)"(?:\\s\\$wait)?(\\s--args)\\s"\\$(?:{intellij_args\\[)?@(?:]})?"'
);
const matchV1 = patternV1.exec(binContent);
const match = matchV1 ? matchV1 : patternV2.exec(binContent);
const matchLength = match ? match.length : 0; |
hi, about you last comment, please provide log file (enable debug in Alfred) |
thank you for your reply below is my log file (alfred_jetbrains_cli_2023-09-05.log)
|
sorry I forgot this issue. I can't reproduce your case and it's weird we see an application "PyCharm Professional" in your Applications folder. I'll try to put more log on next release |
Hi, I've encountered the same issue with PyCharm Professional Edition. And I verified that the binary exists in the ~/Applications path. Logs
|
TODO: check if any issue with this version
The text was updated successfully, but these errors were encountered: