Skip to content

Commit d3efcd7

Browse files
authored
Merge pull request #33 from ShiftLeftSecurity/olof/fix/appimage
fix AppImage
2 parents 2f785d5 + 36e6007 commit d3efcd7

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

appimage-builder.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
version: 1
22
script:
33
# Remove any previous build
4-
- rm -rf AppDir | true
4+
- rm -rf AppDir
55
# Make usr and icons dirs
66
- mkdir -p AppDir/usr/{src,bin}
77
- mkdir -p AppDir/usr/share/{metainfo,icons}
8-
- cp appimage-reqs.sh tools_config AppDir/usr/src -r
9-
- cp tools_config/io.shiftleft.cdxgen.appdata.xml AppDir/usr/share/metainfo/
10-
- chmod +x AppDir/usr/src/appimage-reqs.sh && AppDir/usr/src/appimage-reqs.sh AppDir
11-
- npm install --only=production --no-save --prefix AppDir/usr/local/lib yarn @appthreat/cdxgen @microsoft/rush
8+
- cp -r appimage-reqs.sh tools_config AppDir/usr/src
9+
- cp tools_config/io.shiftleft.cdxgen.appdata.xml AppDir/usr/share/metainfo
10+
- bash AppDir/usr/src/appimage-reqs.sh AppDir
11+
# install ourselves instead of pushed package for cdxgen; install plugins as well; do not use symlinks
12+
- npm install --only=production --no-save --prefix AppDir/usr/local/lib --install-links . yarn @appthreat/cdxgen-plugins-bin @microsoft/rush
1213
- python3 -m pip install --no-cache-dir --ignore-installed --prefix=/usr --root=AppDir pipenv
1314

1415
AppDir:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@appthreat/cdxgen",
3-
"version": "2.3.7",
3+
"version": "2.3.14",
44
"description": "Creates CycloneDX Software Bill-of-Materials (SBOM) for node.js, python, java and golang projects",
55
"homepage": "http://github.com/AppThreat/cdxgen",
66
"author": "Team AppThreat",

0 commit comments

Comments
 (0)