mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-25 20:08:16 +03:00
build without the bitwarden_license/ directory
This commit is contained in:
parent
36439a9baf
commit
7b86da5d58
2 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,9 @@ replace_embedded_svg_icon \
|
||||||
../resources/vaultwarden-password-manager-logo.svg \
|
../resources/vaultwarden-password-manager-logo.svg \
|
||||||
./apps/web/src/app/layouts/password-manager-logo.ts
|
./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}"
|
echo "Using patch: ${PATCH_NAME}"
|
||||||
git apply "../patches/${PATCH_NAME}" --reject
|
git apply "../patches/${PATCH_NAME}" --reject
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ if [ "$(git status --porcelain | wc -l)" -ge 1 ]; then
|
||||||
':!apps/web/src/images/icons/safari-pinned-tab.svg' \
|
':!apps/web/src/images/icons/safari-pinned-tab.svg' \
|
||||||
':!apps/web/src/app/admin-console/icons/admin-console-logo.ts' \
|
':!apps/web/src/app/admin-console/icons/admin-console-logo.ts' \
|
||||||
':!apps/web/src/app/layouts/password-manager-logo.ts' \
|
':!apps/web/src/app/layouts/password-manager-logo.ts' \
|
||||||
|
':!bitwarden_license/' \
|
||||||
> "../patches/${PATCH_FILENAME}"
|
> "../patches/${PATCH_FILENAME}"
|
||||||
echo "Patch has been created here: patches/${PATCH_FILENAME}"
|
echo "Patch has been created here: patches/${PATCH_FILENAME}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue