Adem Aytaç 2 years ago
commit
52750a3b73
7 changed files with 88 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 11 0
      desktop/keeweb.desktop
  3. 11 0
      desktop/vscode.desktop
  4. 15 0
      install/install-general.sh
  5. 21 0
      install/install-keeweb.sh
  6. 25 0
      install/install-vscode.sh
  7. 4 0
      start.sh

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+temp

+ 11 - 0
desktop/keeweb.desktop

@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=keeweb
+GenericName=keeweb
+Exec=/lib/keeweb/KeeWeb
+Terminal=false
+Icon=/lib/keeweb/128x128.png
+Type=Application
+Categories=Application;Security;
+Comment=Keepass Password Manager, but better and written in js ;)

+ 11 - 0
desktop/vscode.desktop

@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=vscode
+GenericName=Visual Studio Code
+Exec=/lib/vscode/code
+Terminal=false
+Icon=/lib/vscode/resources/app/resources/linux/code.png
+Type=Application
+Categories=Application;Development;
+Comment=Awesome Text Editor to replace your IDE, from Microsoft

+ 15 - 0
install/install-general.sh

@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Download wget, unzip, tar
+sudo pacman -S wget unzip tar
+
+# Download and configure git
+sudo pacman -S git
+git config --global user.email "adem@aytacworld.com"
+git config --global user.name "Adem Aytaç"
+
+# Download browser and mail client
+sudo pacman -S iceweasel iceweasel-nl icedove icedove-enigmail icedove-nl
+
+# Download libreoffice
+sudo pacman -S libreoffice-fresh libreoffice-fresh-nl

+ 21 - 0
install/install-keeweb.sh

@@ -0,0 +1,21 @@
+#!/bin/bash
+KEEWEB_VERSION=1.6.3
+KEEWEB_ZIP=KeeWeb-${KEEWEB_VERSION}.linux.x64.zip
+
+# Create tempfolder if not exists
+[ ! -d ./temp ] && mkdir ./temp
+cd ./temp
+
+# Download Keeweb unpack
+wget https://github.com/keeweb/keeweb/releases/download/v${KEEWEB_VERSION}/${KEEWEB_ZIP}
+
+# Unpack and move to lib folder
+unzip ${KEEWEB_ZIP} -d keeweb
+sudo mv keeweb /lib/keeweb
+
+# Download desktop file
+sudo cp ../desktop/keeweb.desktop /usr/share/applications/
+
+echo Keeweb (${KEEWEB_VERSION}) installed
+
+cd ..

+ 25 - 0
install/install-vscode.sh

@@ -0,0 +1,25 @@
+#!/bin/bash
+VS_FILE_NAME=code-stable-code_1.21.1-1521038896_amd64
+VS_FILE=${VS_FILE_NAME}.tar.gz
+
+# Create temp folder if not exists
+[ ! -d ./temp ] && mkdir ./temp
+cd ./temp
+
+# Download vscode using iceweasel
+iceweasel https://az764295.vo.msecnd.net/stable/79b44aa704ce542d8ca4a3cc44cfca566e7720f1/${VS_FILE}
+
+# Wait for download
+read -p "Make sure you download the file to ./temp, after download finishes, press any key to continue the installation."
+
+# Exit if file is not in ./temp or ~/Downloads
+[ ! -f ./${VS_FILE} ] && [ ! -f ~/Downloads/${VS_FILE} ] && echo "Please download the file inside ./temp or ~/Downloads folder" && exit 0
+
+# if file is in ~/Downloads then move to ./temp
+[ ! -f ./${VS_FILE} ] && [ -f ~/Downloads/${VS_FILE} ] && mv ~/Downloads/${VS_FILE} ./${VS_FILE}
+
+# Extract file
+tar -xvzf ./${VS_FILE}
+
+# move to lib folder
+# sudo mv 

+ 4 - 0
start.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+#sh ./install/install-general.sh
+#sh ./install/install-keeweb.sh
+sh ./install/install-vscode.sh