diff --git a/.gitignore b/.gitignore index 132ac685..ad41c066 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ src/cfclient/third_party/* version.json win32install/*.exe win32install/cfclient.nsi +*.snap # PC client settings conf/* diff --git a/snap/gui/cfclient.desktop b/snap/gui/cfclient.desktop new file mode 100644 index 00000000..900a0868 --- /dev/null +++ b/snap/gui/cfclient.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Crazyflie client +Exec=cfclient +Icon=${SNAP}/meta/gui/cfclient.png +Type=Application \ No newline at end of file diff --git a/snap/gui/cfclient.png b/snap/gui/cfclient.png new file mode 100644 index 00000000..e4e19efa Binary files /dev/null and b/snap/gui/cfclient.png differ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..70b6a903 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,29 @@ +name: cfclient +version: git +summary: Crazyflie client +description: | + Crazyflie client +base: core18 +confinement: strict +icon: snap/gui/cfclient.png + + +parts: + cfclient: + plugin: python + python-version: python3 + source: . + stage-packages: + - python3-pyqt5 + +apps: + cfclient: + command: python3 -m cfclient.gui + extensions: + - kde-neon + plugs: + - home + - opengl + - network + - network-bind + - raw-usb