From a64a4f5cd9035c9f03a578ac21ab3aefaf353111 Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Wed, 6 Sep 2023 23:07:11 +0530 Subject: [PATCH] Shell command --- medscript | 10 ++++++++++ resource/medscript.desktop | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100755 medscript create mode 100755 resource/medscript.desktop diff --git a/medscript b/medscript new file mode 100755 index 0000000..a590f08 --- /dev/null +++ b/medscript @@ -0,0 +1,10 @@ +#! /bin/sh + +# MedScript +# Copyright (C) 2023 Dr. Agnibho Mondal +# This file is part of MedScript. +# MedScript is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. +# MedScript is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# You should have received a copy of the GNU General Public License along with MedScript. If not, see . + +python3 $(dirname "$0")/medscript.py "$@" diff --git a/resource/medscript.desktop b/resource/medscript.desktop new file mode 100755 index 0000000..949ee07 --- /dev/null +++ b/resource/medscript.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=0.2 +Type=Application +Name=MedScript +Comment=Prescription writing software +TryExec=medscript +Exec=medscript %f +Icon=medscript +MimeType=application/zip; -- 2.39.2