Skip to content

Commit 270b88d

Browse files
author
Hamish
committed
Linux installer
Stable for release .03
1 parent ef88fab commit 270b88d

File tree

9 files changed

+20016
-3
lines changed

9 files changed

+20016
-3
lines changed

Linux/Kode.sh

-3
This file was deleted.

linux installer/Kode.desktop

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Encoding=UTF-8
3+
Version=0.3
4+
Name=Kode
5+
Icon=~/.wine/drive_c/Program\ Files/Kode/icon.png
6+
Exec=/bin/kode
7+
Terminal=false
8+
Type=Application
9+
Categories=Application;Development;

linux installer/app/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder will contain .exe and .dll's at release time. Keep clean on repo.

linux installer/app/icon.png

1.2 KB
Loading

linux installer/install.sh

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/sh
2+
echo "######## KODE INSTALL SCRIPT ########"
3+
4+
if [ -f /usr/bin/wine ]
5+
then
6+
echo "##Wine is installed. Continuing"
7+
else
8+
echo "##Installing Wine"
9+
sudo apt-get install wine
10+
echo "##Wine is installed. Continuing"
11+
fi
12+
13+
echo "##Creating folders"
14+
mkdir -p ~/.cache/winetricks
15+
echo "##Moving dependancies"
16+
mv ./packages/* ~/.cache/winetricks/
17+
18+
echo "##Creating a clean Wine environment"
19+
echo "##You will need to press Ok on dialog to continue"
20+
WINEARCH=win32 winecfg
21+
22+
echo "##We are ready to install Kode. This will take some time and there will be little visual feedback."
23+
echo "##This script will tell you when install is finished"
24+
env WINEARCH=win32 winetricks -q dotnet45
25+
26+
sudo chmod +x ./kode
27+
sudo mkdir -p ~/.wine/drive_c/Program\ Files/Kode
28+
sudo mv ./app/* ~/.wine/drive_c/Program\ Files/Kode/
29+
sudo mv ./Kode.desktop /usr/share/applications
30+
sudo mv ./kode /bin
31+
sudo ln -s ~/.steam/steam ~/.wine/drive_c/Program\ Files/Kode/
32+
33+
echo "Install complete"

linux installer/kode

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
cd ~/.wine/drive_c/Program\ Files/Kode
3+
/usr/bin/wine Kode.exe
Binary file not shown.
1.02 MB
Binary file not shown.

0 commit comments

Comments
 (0)