11

我使用 ubuntu 14.04 LTS 在 ubuntu 14.04 LTS 上打包电子应用程序snapcraft。我通过引用此链接构建它。包已成功构建但是当我使用以下命令安装包时

 sudo snap install springbok_1.0.1_i386.snap

它显示以下错误消息

 ZOE ERROR (from /usr/lib/snap/snap): error opening parameter file

这是我的snapcraft.yaml

name: springbok
version: 1.0.1
summary: The simplest way to keep notes.
description: The simplest way to keep notes. Light, clean, and free.
vendor: Ajatus software <pitabas.prathal@ajatus.co.in>
icon: icon.png
apps:
  springbok:
  command: wrapper
  plugs: [unity7, opengl, network]
parts:
  springbok:
  plugin: copy
  stage-packages:
    - libnss3
    - fontconfig-config
    - gnome-themes-standard
files:
  springbok: springbok
  wrapper: usr/bin/wrapper
  icudtl.dat: icudtl.dat
  snapshot_blob.bin: snapshot_blob.bin
  natives_blob.bin: natives_blob.bin
  resources*: resources
  libnode.so: usr/lib/i386-linux-gnu/libnode.so
  libffmpeg.so: usr/lib/i386-linux-gnu/libffmpeg.so

这是我的wrapper

 export FONTCONFIG_PATH=$SNAP/etc/fonts
 export FONTCONFIG_FILE=$SNAP/etc/fonts/fonts.conf
 export XDG_DATA_HOME=$SNAP/usr/share
 export           LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$SNAP/springbok:$SNAP/usr/lib/i386-linux-gnu/

exec "$SNAP/springbok" "$@"
4

0 回答 0