add intellij idea app

pull/155/head
Botspot 4 years ago
parent db0fa1cff5
commit 20b687d554

@ -0,0 +1,2 @@
Thanks to GlacierPark19 for suggesting this app be added.
Botspot made it.

@ -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.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

@ -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

@ -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

@ -0,0 +1 @@
https://www.jetbrains.com/idea/
Loading…
Cancel
Save