Hello to everyone.
This is my first time releasing an app in snap, and I stock with defining a custom command for my app.
This is my snapcraft.yaml
file:
name: pepe-party
version: '1.0.0'
summary: Invite pepe to your terminal!
description: |
If you are tired of coding, invite Pepe to throw a party in your terminal.!
To invite Pepe, run "pepe" command in your terminal!
To quit the party either hit "Esc" or "Ctrl+C"
Have fun:D!
Homepage: https://github.com/shuoros/pepe-party
title: Pepe Party
website: https://github.com/shuoros/pepe-party
contact: shuoros@yahoo.com
issues: https://github.com/shuoros/pepe-party/issues
icon: ./icon.png
license: MIT
base: core18
grade: stable
confinement: strict
apps:
pepe:
command: bin/java -jar $SNAP/jar/pepe-party-$SNAP_VERSION-jar-with-dependecies.jar
parts:
pepe-party:
plugin: maven
source: https://github.com/shuoros/pepe-party.git
source-tag: main
source-type: git
maven-options: [-DskipTests]
override-prime: |
snapcraftctl prime
rm -vf usr/lib/jvm/java-11-openjdk-*/lib/security/blacklisted.certs
Everything is ok. My app was uploaded to snap, and I installed it on my ubuntu.
But the problem is instead of the command pepe
my app runs with pepe-party.pepe
.
I searched a lot but I can’t find a solution.
I’ll appreciate any help you can provide.