I need some help. I have no prior programming experience. However, I thought it would be simple to do because the “create your first snap” tutorial looked easy and the Python app I want to snap has a simple installation procedure.
I’m trying to snap ANGRYsearch, a quick search application written in Python 3 with PyQt5 for the GUI. Currently, the snapcraft cleanbuild
process crashes because it can’t find the .desktop file.
Here is my snapcraft.yml
:
name: angrysearch # you probably want to 'snapcraft register <name>'
version: '1.0.2'
summary: ANGRYsearch, a fast search tool for Linux
description: |
ANGRYsearch is a tool written in Python and designed to show search results
as you type.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
angrysearch:
command: bin/angrysearch
command: desktop-launch application
plugs:
- unity7
- home
- desktop
- desktop-legacy
- wayland
desktop: usr/share/applications/angrysearch.desktop
parts:
angrysearch:
source: https://github.com/DoTheEvo/ANGRYsearch
source-type: git
plugin: python
stage-packages:
- python3-pyqt5
Thanks in advance.