Here is a yaml based on a template i have used successfully in the past (on ubuntu 16.04). In the past, snapcraft would request that the file TdhGISnet_launcher.sh be placed in the Prime directory and all was good. Now, snapcraft says TdhGISnet_launcher.sh is not in the “correct path” but it doesn’t say what is the correct path and it doesn’t create a Prime directory. Advice on how to address this will be appreciated.
name: tdhgisnet
version: ‘19.12.03’
summary: Shortest Path Analysis
description: |
Feature Summary:
- Calculate and display the shortest path for any network:
icon: TdhGISnet_logo.png
grade: stable
confinement: strict
base: core18
parts:
tdhgisnet:
plugin: dump
source: TdhGISnet_linux64.zip
stage-packages:
- libwxgtk3.0-0v5
- libcairo2
apps:
tdhgisnet:
command: TdhGISnet_launcher.sh
plugs:
For snaps with a graphical user interface:
desktop:
desktop-legacy:
x11:
unity7:
wayland:
Storage access
home:
removable-media: # Non-A/C
Network access
#network:
TdhGISnet_launcher.sh:
cd $SNAP
exec “./TdhGISnet” “$SNAP_USER_DATA” “$@”