Former-commit-id: 5a518da49fd544099b3f70ccab5093427444c37f
This commit is contained in:
troyeguo
2021-04-08 12:12:21 +08:00
parent 3de922cfe6
commit 6e1cc8fcec
2 changed files with 46 additions and 1 deletions

View File

@@ -27,7 +27,6 @@ install:
- yarn
before_script:
- git lfs pull
- sudo snap install snapcraft --classic
script:
- yarn release
branches:

46
snapcraft.yaml Normal file
View File

@@ -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]