fix: snap build

This commit is contained in:
msojocs 2022-05-04 22:43:30 +08:00
parent dca9f5a74d
commit fd12934be2

View File

@ -72,6 +72,9 @@ parts:
ls -l $SNAPCRAFT_STAGE
ls -l
cd $SNAPCRAFT_PROJECT_DIR && git submodule update --init
cd $SNAPCRAFT_PROJECT_DIR/compiler && npm install
cd $SNAPCRAFT_PART_BUILD
# 准备文件
cp -r $SNAPCRAFT_STAGE/package.nw package.nw
chmod -R 755 package.nw