Skip to content

Commit

Permalink
build without the bitwarden_license/ directory
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan0xC committed Jul 9, 2024
1 parent a34956b commit d943835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/apply_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ replace_embedded_svg_icon \
../resources/vaultwarden-password-manager-logo.svg \
./apps/web/src/app/layouts/password-manager-logo.ts

echo "Remove non-free bitwarden_license/ code"
rm -rf ./bitwarden_license/

echo "Using patch: ${PATCH_NAME}"
git apply "../patches/${PATCH_NAME}" --reject

Expand Down
1 change: 1 addition & 0 deletions scripts/generate_patch_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ if [ "$(git status --porcelain | wc -l)" -ge 1 ]; then
':!apps/web/src/app/admin-console/icons/admin-console-logo.ts' \
':!apps/web/src/app/layouts/password-manager-logo.ts' \
':!libs/auth/src/angular/icons/bitwarden-logo.icon.ts' \
':!bitwarden_license/' \
> "../patches/${PATCH_FILENAME}"
echo "Patch has been created here: patches/${PATCH_FILENAME}"
else
Expand Down

0 comments on commit d943835

Please sign in to comment.