main executable, .desktop tentative

This commit is contained in:
giuliof 2023-04-18 22:11:46 +02:00
parent 2393192709
commit d8b0fbc3bd
2 changed files with 10 additions and 1 deletions

7
ImagePointer.desktop Executable file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=ImagePointer
Exec="ImagePointer/main.py"
Icon=app
Terminal=false
Categories=Utility

4
main.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/bin/python3
from numpy import imag
from imagepointer import ImagePointer
from tkinter import messagebox
@ -8,4 +10,4 @@ try:
ip.run()
except Exception as e:
messagebox.showerror("Error", str(e))
exit(-1)
exit(-1)