File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11[Desktop Entry]
22Name =Fedit
33Comment =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
55Icon =/usr/share/fedit/fedit.png
66Terminal =false
77Type =Application
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 33import sys
44
55if (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 )
1919if (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' )
You can’t perform that action at this time.
0 commit comments