Skip to content

Commit

Permalink
snap: reduce snap size by using only one binary
Browse files Browse the repository at this point in the history
  • Loading branch information
cevap committed Feb 7, 2019
1 parent f7cc937 commit 9d78c1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
22 changes: 0 additions & 22 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,35 +40,13 @@ apps:
plugs: [network, network-bind, home, removable-media]
environment:
XDG_DATA_DIRS: $SNAP_USER_DATA:$SNAP/usr/share:$XDG_DATA_DIRS
daemon-testnet:
command: iond --testnet
plugs: [network, network-bind, home, removable-media]
environment:
XDG_DATA_DIRS: $SNAP_USER_DATA:$SNAP/usr/share:$XDG_DATA_DIRS
daemon-regtest:
command: iond --regtest
plugs: [network, network-bind, home, removable-media]
qt:
command: desktop-launch ion-qt
plugs: [network, network-bind, unity7, unity8-calendar, unity8-contacts, desktop, desktop-legacy, wayland, x11, mir, opengl, home, removable-media]
desktop: qt.desktop
qt-testnet:
command: desktop-launch ion-qt --testnet
plugs: [network, network-bind, unity7, unity8-calendar, unity8-contacts, desktop, desktop-legacy, wayland, x11, mir, opengl, home, removable-media]
desktop: qt-testnet.desktop
qt-regtest:
command: desktop-launch ion-qt --regtest
plugs: [network, network-bind, unity7, unity8-calendar, unity8-contacts, desktop, desktop-legacy, wayland, x11, mir, opengl, home, removable-media]
desktop: qt-regtest.desktop
cli:
command: ion-cli
plugs: [network, network-bind, home]
cli-testnet:
command: ion-cli --testnet
plugs: [network, network-bind, home]
cli-regtest:
command: ion-cli --regtest
plugs: [network, network-bind, home]
tx:
command: ion-tx
plugs: [home]
Expand Down
2 changes: 1 addition & 1 deletion snap/usr/share/applications/qt-regtest.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Encoding=UTF-8
Name=Ion Qt Regtest
Icon=${SNAP}/qt-regtest.ico
MimeType=x-scheme-handler/ioncore;
Exec=ioncore.qt-regtest %u
Exec=ioncore.qt --regtest %u
Terminal=false
Categories=Office;Finance;Games;
Comment=Ion Digital Currency QT Official release
Expand Down
2 changes: 1 addition & 1 deletion snap/usr/share/applications/qt-testnet.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Encoding=UTF-8
Name=Ion Qt Testnet
Icon=${SNAP}/qt-testnet.ico
MimeType=x-scheme-handler/ioncore;
Exec=ioncore.qt-testnet --testnet %u
Exec=ioncore.qt --testnet %u
Terminal=false
Categories=Office;Finance;Games;
Comment=Ion Digital Currency QT Official release
Expand Down

0 comments on commit 9d78c1a

Please sign in to comment.