-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Insomnia, Rider, Azure Data Studio (#4)
* Added Insomnia, Rider, Azure Data Studio Update insomnia.sh (#13)
- Loading branch information
1 parent
4479304
commit 0dbdf2a
Showing
4 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
set -eux | ||
|
||
echo "\nInstalling Azure Data Studio ...\n" | ||
|
||
apt-get install -y libunwind8 | ||
|
||
curl -L -o azuredatastudio.deb https://azuredatastudio-update.azurewebsites.net/latest/linux-deb-x64/stable | ||
sudo dpkg -i azuredatastudio.deb | ||
|
||
|
||
rm azuredatastudio.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -eux | ||
|
||
echo "\nInstalling Insomnia ...\n" | ||
|
||
# Add to sources | ||
curl -1sLf \ | ||
'https://packages.konghq.com/public/insomnia/setup.deb.sh' \ | ||
| sudo -E distro=ubuntu codename=focal bash | ||
|
||
# Refresh repository sources and install Insomnia | ||
|
||
sudo apt-get update -y | ||
sudo apt-get install insomnia -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
|
||
set -eux | ||
|
||
RIDER_VERSION='2023.3.2' | ||
echo "\nInstalling Rider $RIDER_VERSION ...\n" | ||
|
||
# download using curl | ||
curl -LO "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz" | ||
|
||
|
||
# download sha256sum file and verify the checksum | ||
wget "https://download.jetbrains.com/rider/JetBrains.Rider-$RIDER_VERSION.tar.gz.sha256" -O expected_sha256sum.txt | ||
sha256sum JetBrains.Rider-$RIDER_VERSION.tar.gz >> actual_sha256sum.txt | ||
cat actual_sha256sum.txt | sha256sum -c expected_sha256sum.txt | ||
|
||
# extract and keep the files in /opt | ||
mkdir JetBrains.Rider-$RIDER_VERSION | ||
tar -zxvf "JetBrains.Rider-$RIDER_VERSION.tar.gz" -C JetBrains.Rider-$RIDER_VERSION --strip-components 1 | ||
sudo mv JetBrains.Rider-$RIDER_VERSION /opt | ||
|
||
# remove tar and hash files | ||
rm "JetBrains.Rider-$RIDER_VERSION.tar.gz" actual_sha256sum.txt expected_sha256sum.txt | ||
|
||
# populate desktop entry | ||
cat > jetbrains-rider.desktop << EOF | ||
[Desktop Entry] | ||
Version=1.0 | ||
Type=Application | ||
Name=JetBrains Rider | ||
Icon=/opt/JetBrains.Rider-$RIDER_VERSION/bin/rider.svg | ||
Exec="/opt/JetBrains.Rider-$RIDER_VERSION/bin/rider.sh" %f | ||
Comment=A cross-platform IDE for .NET | ||
Categories=Development;IDE; | ||
Terminal=false | ||
StartupWMClass=jetbrains-rider | ||
StartupNotify=true | ||
EOF | ||
|
||
# move the desktop entry to appropriate location | ||
mv jetbrains-rider.desktop /usr/share/applications/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters