Skip to content

Commit

Permalink
Extra setttings for MacOS PKG (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er authored Oct 15, 2024
1 parent 2a44cbf commit 0d8dd22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
if: runner.os == 'macOS'
run:
for var in APPLEID APPLEIDPASS APPLETEAMID CSC_LINK CSC_KEY_PASSWORD; do test -n "${!var}" || unset $var; done;
npm run build:app -- -- -- dmg --publish never --${{ matrix.arch }}
npm run build:app -- -- -- dmg pkg --publish never --${{ matrix.arch }}
env:
APPLEID: ${{ secrets.APPLEID }}
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
Expand Down Expand Up @@ -152,6 +152,9 @@ jobs:
find . -name '*.dmg' ! -name '*-arm64.dmg' ! -name '*-amd64.dmg' | while read -r f; do
mv -f "$f" "${f%.dmg}-amd64.dmg"
done
find . -name '*.pkg' ! -name '*-arm64.pkg' ! -name '*-amd64.pkg' | while read -r f; do
mv -f "$f" "${f%.pkg}-amd64.pkg"
done
find . -name '*Setup*' | while read -r f; do
mv -f "$f" "${f/ Setup /-}"
done
Expand Down
5 changes: 0 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ Copyright (c) 2022 OpenLens Authors.

Portions of this software are licensed as follows:

* All content residing under the "docs/" directory of this repository, if that
directory exists, is licensed under "Creative Commons: CC BY-SA 4.0 license".
* Content outside of the above mentioned directories or restrictions above is
available under the "MIT" license as defined below.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
3 changes: 3 additions & 0 deletions freelens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@
}
]
},
"pkg": {
"license": "../LICENSE"
},
"win": {
"target": [
"nsis"
Expand Down

0 comments on commit 0d8dd22

Please sign in to comment.