diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-08-04 01:33:18 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-08-04 01:33:18 +0300 |
commit | a7f7e00a142a9c2a5f4d37d739983d6841f6ae26 (patch) | |
tree | 9680a5a407eaa0ec5cb646b1c3bb10ddaf04e9e2 /snapcraft.yaml | |
parent | 5db3dcf8dac18fd4969b79611e86fb1202bd9f31 (diff) | |
download | wekan-a7f7e00a142a9c2a5f4d37d739983d6841f6ae26.tar.gz wekan-a7f7e00a142a9c2a5f4d37d739983d6841f6ae26.tar.bz2 wekan-a7f7e00a142a9c2a5f4d37d739983d6841f6ae26.zip |
Try to fix Snap.
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r-- | snapcraft.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index a92991ad..2ee9462b 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -203,9 +203,10 @@ parts: cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js # Disable code coverage on Snap, because it crashes Wekan starting. # https://github.com/wekan/wekan/issues/2533#issuecomment-513506939 + #sed -i 's|Profile(fileInfo.path, func).apply(global, args);|//Profile(fileInfo.path, func).apply(global, args);|g' .build/bundle/programs/server/boot.js + # although it did not help, it said unable to find main function. # Other option to fix would be to drop indexes at start of snap: # https://stackoverflow.com/questions/24241742/drop-all-indexes-from-all-collections-in-a-mongodb-database-using-the-command-li - sed -i 's|Profile(fileInfo.path, func).apply(global, args);|//Profile(fileInfo.path, func).apply(global, args);|g' .build/bundle/programs/server/boot.js #Removed binary version of bcrypt because of security vulnerability that is not fixed yet. #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c |