From 791b677778320a9951c486ed97de418081bb44d3 Mon Sep 17 00:00:00 2001
From: janinainfa <60750633+janinainfa@users.noreply.github.com>
Date: Tue, 9 Jul 2024 14:43:35 +0200
Subject: [PATCH] update package name to mexassistant
---
.github/workflows/python-app.yml | 10 +++++-----
.idea/workspace.xml | 15 ++++++++++++---
deb-package/DEBIAN/control | 2 +-
.../{mex-assistant => mexassistant}/config.ini | 0
.../{myproject.desktop => mexassistant.desktop} | 4 ++--
.../apps/{mex-assistant.png => mexassistant.png} | Bin
6 files changed, 20 insertions(+), 11 deletions(-)
rename deb-package/etc/{mex-assistant => mexassistant}/config.ini (100%)
rename deb-package/usr/share/applications/{myproject.desktop => mexassistant.desktop} (65%)
rename deb-package/usr/share/icons/hicolor/256x256/apps/{mex-assistant.png => mexassistant.png} (100%)
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 0fc6e6c..b3fed4b 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -40,19 +40,19 @@ jobs:
- name: Build Exec
run: |
pip install pyinstaller
- pyinstaller --name=mex-assistant --onefile main.py
+ pyinstaller --name=mexassistant --onefile main.py
- name: Create Deb Package
run: |
cp -r deb-package dist
- mv dist/mex-assistant dist/deb-package/usr/local/bin
- mv deb-package mex-assistant
- dpkg-deb --build myproject
+ mv dist/mexassistant dist/deb-package/usr/local/bin
+ mv dist/deb-package dist/mexassistant
+ dpkg-deb --build dist/mexassistant
- name: Saving Artifacts
uses: actions/upload-artifact@v2
with:
- name: mex-assistant
+ name: mexassistant-deb
path: dist/
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 334bd8a..47205d2 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,7 @@
-
+
@@ -468,7 +468,15 @@
1720527178621
-
+
+
+ 1720527457905
+
+
+
+ 1720527457905
+
+
@@ -507,6 +515,7 @@
-
+
+
\ No newline at end of file
diff --git a/deb-package/DEBIAN/control b/deb-package/DEBIAN/control
index 4f353ac..9d79dc8 100644
--- a/deb-package/DEBIAN/control
+++ b/deb-package/DEBIAN/control
@@ -1,4 +1,4 @@
-Package: mex-assistant
+Package: mex-ssistant
Version: 1.0
Section: base
Priority: optional
diff --git a/deb-package/etc/mex-assistant/config.ini b/deb-package/etc/mexassistant/config.ini
similarity index 100%
rename from deb-package/etc/mex-assistant/config.ini
rename to deb-package/etc/mexassistant/config.ini
diff --git a/deb-package/usr/share/applications/myproject.desktop b/deb-package/usr/share/applications/mexassistant.desktop
similarity index 65%
rename from deb-package/usr/share/applications/myproject.desktop
rename to deb-package/usr/share/applications/mexassistant.desktop
index 227ac77..174051c 100644
--- a/deb-package/usr/share/applications/myproject.desktop
+++ b/deb-package/usr/share/applications/mexassistant.desktop
@@ -2,8 +2,8 @@
Version=1.0
Name=Mex Assistant
Comment=Prosty asystent głosowy stworzony przy użyciu Pythona i Qt5.
-Exec=/usr/local/bin/mex-assistant
-Icon=/usr/share/icons/hicolor/256x256/apps/mex-assistant.png
+Exec=/usr/local/bin/mexassistant
+Icon=/usr/share/icons/hicolor/256x256/apps/mexassistant.png
Terminal=false
Type=Application
Categories=Utility;Application;
diff --git a/deb-package/usr/share/icons/hicolor/256x256/apps/mex-assistant.png b/deb-package/usr/share/icons/hicolor/256x256/apps/mexassistant.png
similarity index 100%
rename from deb-package/usr/share/icons/hicolor/256x256/apps/mex-assistant.png
rename to deb-package/usr/share/icons/hicolor/256x256/apps/mexassistant.png