Skip to content

Commit

Permalink
Try to fix Snap: Removed fibers multi arch from Snap, because Snap bu…
Browse files Browse the repository at this point in the history
…ild servers do not build corretly with it.

Thanks to xet7.
  • Loading branch information
xet7 committed Mar 3, 2021
1 parent 3f70c39 commit a44ca39
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions snapcraft.yaml
Expand Up @@ -97,7 +97,7 @@ parts:
- execstack
- nodejs
- npm
- p7zip-full
# - p7zip-full
stage-packages:
- libfontconfig1
override-build: |
Expand Down Expand Up @@ -128,11 +128,11 @@ parts:
find . -name '*.swp' | xargs rm -f
cd ../..
# Add fibers multi arch
cd .build/bundle/programs/server/node_modules/fibers/bin
curl https://releases.wekan.team/fibers-multi.7z -o fibers-multi.7z
7z x fibers-multi.7z
rm fibers-multi.7z
cd ../../../../../../..
#cd .build/bundle/programs/server/node_modules/fibers/bin
#curl https://releases.wekan.team/fibers-multi.7z -o fibers-multi.7z
#7z x fibers-multi.7z
#rm fibers-multi.7z
#cd ../../../../../../..
# Copy to Snap
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
Expand Down

0 comments on commit a44ca39

Please sign in to comment.