Skip to content

Commit 7b56ec9

Browse files
committed
Merged @Painadath Fedit, and changed setup.py
1 parent 3a4bac3 commit 7b56ec9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

fedit.desktop renamed to data/fedit.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Desktop Entry]
22
Name=Fedit
33
Comment=A Simple text editor with python tkinter
4-
Exec=/usr/bin/python3 /usr/share/fedit/fedit.py
4+
Exec=/usr/bin/python3 /usr/share/fedit/main.py
55
Icon=/usr/share/fedit/fedit.png
66
Terminal=false
77
Type=Application
File renamed without changes.
File renamed without changes.

data/icon.png

-734 KB
Binary file not shown.

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
import sys
44

55
if(len(sys.argv)>=1 and sys.argv[1] == 'install'):
6-
os.system('sudo rm -r /usr/share/fedit && sudo rm /usr/share/applications/fedit.desktop')
7-
os.system('sudo mkdir /usr/share/fedit')
6+
os.system('rm -r /usr/share/fedit && rm /usr/share/applications/fedit.desktop')
7+
os.system('mkdir /usr/share/fedit')
88
setup(name='Fedit',
99
version='0.0.1.6',
1010
description='A simple text editor in python with tkinter',
1111
author='Pythonic456',
1212
data_files=[
13-
('/usr/share/applications', ['fedit.desktop']),
14-
('/usr/share/fedit/',['fedit.py']),
15-
('/usr/share/fedit/',['fedit.png']),
13+
('/usr/share/applications', ['data/fedit.desktop']),
14+
('/usr/share/fedit/',['main.py']),
15+
('/usr/share/fedit/',['data/fedit.png']),
1616
('/usr/share/fedit/',['tktools.py'])
1717
]
1818
)
1919
if(len(sys.argv)>=1 and sys.argv[1] == 'remove'):
20-
os.system('sudo rm -r /usr/share/fedit && sudo rm /usr/share/applications/fedit.desktop')
20+
os.system('rm -r /usr/share/fedit && rm /usr/share/applications/fedit.desktop')

0 commit comments

Comments
 (0)