diff --git a/apps/Intellij IDEA/credits b/apps/Intellij IDEA/credits new file mode 100644 index 0000000..13d83cd --- /dev/null +++ b/apps/Intellij IDEA/credits @@ -0,0 +1,2 @@ +Thanks to GlacierPark19 for suggesting this app be added. +Botspot made it. diff --git a/apps/Intellij IDEA/description b/apps/Intellij IDEA/description new file mode 100644 index 0000000..8a20baa --- /dev/null +++ b/apps/Intellij IDEA/description @@ -0,0 +1,2 @@ +IntelliJ IDEA is an IDE designed to maximize developer productivity. +It does the routine and repetitive tasks for you by providing clever code completion, static code analysis, and refactorings, and lets you focus on the bright side of software development, making it not only productive but also an enjoyable experience. diff --git a/apps/Intellij IDEA/icon-24.png b/apps/Intellij IDEA/icon-24.png new file mode 100644 index 0000000..0182b16 Binary files /dev/null and b/apps/Intellij IDEA/icon-24.png differ diff --git a/apps/Intellij IDEA/icon-64.png b/apps/Intellij IDEA/icon-64.png new file mode 100644 index 0000000..e936d37 Binary files /dev/null and b/apps/Intellij IDEA/icon-64.png differ diff --git a/apps/Intellij IDEA/install-32 b/apps/Intellij IDEA/install-32 new file mode 100755 index 0000000..8766f3f --- /dev/null +++ b/apps/Intellij IDEA/install-32 @@ -0,0 +1,31 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +# Get dependencies +"${DIRECTORY}/pkg-install" "openjdk-11-jdk" "$(dirname "$0")" || exit 1 +rm -f ideaIC-2020.3.tar.gz 2>/dev/null + +rm -rf ~/idea_ic 2>/dev/null +mkdir ~/idea_ic || error "Failed to make idea_ic folder!" +cd ~/idea_ic +wget https://download.jetbrains.com/idea/ideaIC-2020.3.tar.gz || error "Failed to download!" + +tar xf ideaIC-2020.3.tar.gz --strip-components=1 || error "Failed to extract!" +rm -f ideaIC-2020.3.tar.gz 2>/dev/null + +echo "[Desktop Entry] +Type=Application +Version=1.0 +Name=IntelliJ IDEA +Path=$HOME/idea_ic/bin +Exec=$HOME/idea_ic/bin/idea.sh +Comment=A fast and lightweight IDE using GTK+ +Icon=$HOME/idea_ic/bin/idea.png +Categories=Development;IDE; +StartupNotify=true" > ~/.local/share/applications/intellijidea.desktop diff --git a/apps/Intellij IDEA/uninstall b/apps/Intellij IDEA/uninstall new file mode 100755 index 0000000..66b66bd --- /dev/null +++ b/apps/Intellij IDEA/uninstall @@ -0,0 +1,15 @@ +#!/bin/bash + +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + +function error { + echo -e "\\e[91m$1\\e[39m" + exit 1 +} + +#if your app installs any packages, keep this command here so those packages will be removed. +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 +rm -rf ~/idea_ic 2>/dev/null +rm ~/.local/share/applications/intellijidea.desktop + +exit 0 diff --git a/apps/Intellij IDEA/website b/apps/Intellij IDEA/website new file mode 100644 index 0000000..3e7142b --- /dev/null +++ b/apps/Intellij IDEA/website @@ -0,0 +1 @@ +https://www.jetbrains.com/idea/