Skip to content

Commit

Permalink
Change package author
Browse files Browse the repository at this point in the history
  • Loading branch information
jamezrin committed Jul 3, 2021
1 parent b23b0fe commit 7fe0af7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ NOTION_EMBEDDED_NAME="embedded_enhancer"
NOTION_REPACKAGED_REVISION="${NOTION_REPACKAGED_REVISION:-1}"
NOTION_REPACKAGED_HOMEPAGE="https://github.com/jamezrin/notion-repackaged"
NOTION_REPACKAGED_REPO=${NOTION_REPACKAGED_REPO:-${NOTION_REPACKAGED_HOMEPAGE}}
NOTION_REPACKAGED_AUTHOR="Notion Repackaged"

function log() {
caller=`basename "$0"`
Expand Down
4 changes: 3 additions & 1 deletion scripts/extract-src.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ sed -i 's|process.platform === "win32"|process.platform !== "darwin"|g' main/mai
PATCHED_PACKAGE_JSON=$(jq \
--arg homepage "${NOTION_REPACKAGED_HOMEPAGE}" \
--arg repo "${NOTION_REPACKAGED_REPO}" \
--arg author "${NOTION_REPACKAGED_AUTHOR}" \
'.dependencies.cld="2.7.0" |
.name="notion-app" |
.homepage=$homepage |
.repository=$repo' package.json
.repository=$repo |
.author=$author' package.json
)
echo "${PATCHED_PACKAGE_JSON}" > package.json

Expand Down

0 comments on commit 7fe0af7

Please sign in to comment.