Forward-port snap fixes (#7831)
This commit is contained in:
parent
bf7e8741c7
commit
8b0004b4cf
@ -4,5 +4,5 @@ Encoding=UTF-8
|
|||||||
Name=parity
|
Name=parity
|
||||||
Comment=Fast, light, robust Ethereum implementation
|
Comment=Fast, light, robust Ethereum implementation
|
||||||
Exec=parity
|
Exec=parity
|
||||||
Icon=${SNAP}/meta/gui/icon.png
|
Icon=/usr/share/pixmaps/icon.png
|
||||||
Terminal=true
|
Terminal=true
|
||||||
|
@ -13,9 +13,20 @@ confinement: strict
|
|||||||
apps:
|
apps:
|
||||||
parity:
|
parity:
|
||||||
command: parity
|
command: parity
|
||||||
plugs: [network, network-bind, mount-observe, x11, unity7]
|
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
|
||||||
|
desktop: usr/share/applications/parity.desktop
|
||||||
|
|
||||||
|
icon: snap/gui/icon.png
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
|
desktop-icon:
|
||||||
|
source: ./snap
|
||||||
|
plugin: nil
|
||||||
|
prepare: |
|
||||||
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
||||||
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
||||||
|
cp -v gui/parity.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
|
||||||
|
cp -v gui/icon.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/
|
||||||
parity:
|
parity:
|
||||||
source: .
|
source: .
|
||||||
plugin: rust
|
plugin: rust
|
||||||
|
Loading…
Reference in New Issue
Block a user