From 6ddc337247b335433c3486677ba1d5479d5409c4 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 15:05:25 -0800 Subject: [PATCH 1/4] Fix JetBrains Toolbox install Download the latest version and instead of copying the binary, execute it so the built-in install process can run. Fixes #7 --- generic/install-jetbrains-tools | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/generic/install-jetbrains-tools b/generic/install-jetbrains-tools index d2fa947..f441661 100755 --- a/generic/install-jetbrains-tools +++ b/generic/install-jetbrains-tools @@ -3,10 +3,11 @@ # Install JetBrains Toolbox # https://www.jetbrains.com/lp/toolbox/ -base_filename=jetbrains-toolbox-1.28.1.15219 +base_filename=jetbrains-toolbox-3.2.0.65851 curl -L -o /tmp/$base_filename.tar.gz https://download.jetbrains.com/toolbox/$base_filename.tar.gz tar xzvf /tmp/$base_filename.tar.gz -C /tmp -mkdir -p "$HOME"/.local/bin/ -mv /tmp/$base_filename/jetbrains-toolbox "$HOME"/.local/bin/ -rm /tmp/$base_filename.tar.gz \ No newline at end of file +"/tmp/$base_filename/bin/jetbrains-toolbox" >/dev/null 2>&1 & +# rm "/tmp/$base_filename.tar.gz" +# rm -rf "/tmp/jetbrains-toolbox-$base_filename" +echo "JetBrains Toolbox installation initiated. Please complete the setup through the application interface." From 3adbe8faf371fa5d59d22c551f588f20014b150b Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 15:13:40 -0800 Subject: [PATCH 2/4] Update generic/install-jetbrains-tools Add comment about toolbox version needing to be updated once in a while. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- generic/install-jetbrains-tools | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generic/install-jetbrains-tools b/generic/install-jetbrains-tools index f441661..eef3cae 100755 --- a/generic/install-jetbrains-tools +++ b/generic/install-jetbrains-tools @@ -3,7 +3,9 @@ # Install JetBrains Toolbox # https://www.jetbrains.com/lp/toolbox/ -base_filename=jetbrains-toolbox-3.2.0.65851 +# NOTE: Update this version periodically when a new JetBrains Toolbox release is desired. +JETBRAINS_TOOLBOX_VERSION=3.2.0.65851 +base_filename="jetbrains-toolbox-$JETBRAINS_TOOLBOX_VERSION" curl -L -o /tmp/$base_filename.tar.gz https://download.jetbrains.com/toolbox/$base_filename.tar.gz tar xzvf /tmp/$base_filename.tar.gz -C /tmp From 634af3bfc13d8095b47a2c3ae73e853c31f153e9 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 15:14:05 -0800 Subject: [PATCH 3/4] Update generic/install-jetbrains-tools Remove commented code Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- generic/install-jetbrains-tools | 2 -- 1 file changed, 2 deletions(-) diff --git a/generic/install-jetbrains-tools b/generic/install-jetbrains-tools index eef3cae..111c95a 100755 --- a/generic/install-jetbrains-tools +++ b/generic/install-jetbrains-tools @@ -10,6 +10,4 @@ base_filename="jetbrains-toolbox-$JETBRAINS_TOOLBOX_VERSION" curl -L -o /tmp/$base_filename.tar.gz https://download.jetbrains.com/toolbox/$base_filename.tar.gz tar xzvf /tmp/$base_filename.tar.gz -C /tmp "/tmp/$base_filename/bin/jetbrains-toolbox" >/dev/null 2>&1 & -# rm "/tmp/$base_filename.tar.gz" -# rm -rf "/tmp/jetbrains-toolbox-$base_filename" echo "JetBrains Toolbox installation initiated. Please complete the setup through the application interface." From 073edf0650affe4b73bac4500e8d59cc8fe93558 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 15:34:30 -0800 Subject: [PATCH 4/4] Ensure archive was downloaded and extracted before executing its contents --- generic/install-jetbrains-tools | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/generic/install-jetbrains-tools b/generic/install-jetbrains-tools index 111c95a..c73d383 100755 --- a/generic/install-jetbrains-tools +++ b/generic/install-jetbrains-tools @@ -9,5 +9,12 @@ base_filename="jetbrains-toolbox-$JETBRAINS_TOOLBOX_VERSION" curl -L -o /tmp/$base_filename.tar.gz https://download.jetbrains.com/toolbox/$base_filename.tar.gz tar xzvf /tmp/$base_filename.tar.gz -C /tmp + +if [ -f "/tmp/$base_filename/bin/jetbrains-toolbox" ]; then + echo "JetBrains Toolbox downloaded and extracted successfully." +else + echo "Failed to download or extract JetBrains Toolbox." + exit 1 +fi "/tmp/$base_filename/bin/jetbrains-toolbox" >/dev/null 2>&1 & echo "JetBrains Toolbox installation initiated. Please complete the setup through the application interface."