From 6e1cc8fcecf56f1fbd35f63ff64df2a3a5266e29 Mon Sep 17 00:00:00 2001 From: troyeguo <13820674+troyeguo@users.noreply.github.com> Date: Thu, 8 Apr 2021 12:12:21 +0800 Subject: [PATCH] fix bug Former-commit-id: 5a518da49fd544099b3f70ccab5093427444c37f --- .travis.yml | 1 - snapcraft.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 snapcraft.yaml diff --git a/.travis.yml b/.travis.yml index b594f944..002cfd9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,6 @@ install: - yarn before_script: - git lfs pull - - sudo snap install snapcraft --classic script: - yarn release branches: diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 00000000..19b8ad15 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,46 @@ +name: koodo-reader +version: "0.1" +summary: Koodo Reader is a full-featured ebook manager and reader +description: | + A modern ebook manager and reader for epub, pdf, mobi, azw3 and txt, supporting Windows, macOS, Linux and Web. +grade: stable +confinement: strict + +apps: + asmstnote: + command: desktop-launch $SNAP/etc/koodo-reader/KoodoReader + plugs: + - browser-support + - network + - unity7 + - gsettings + +parts: + src: + plugin: nodejs + source: . + + deps: + plugin: nil + stage-packages: + - libgconf-2-4 + - libnss3 + - libxss1 + - fontconfig-config + + desktop-integration: + plugin: nil + stage-packages: + - libappindicator1 + - libdbusmenu-glib4 + - libnotify4 + - libunity9 + + launcher: + plugin: dump + source: . + stage: + - etc/koodo-reader + organize: + dist/KoodoReader-linux-x64: etc/koodo-reader + after: [desktop-glib-only]