From 416b1537f8d3f2c93b7b9ffcfb0df6ec1338322d Mon Sep 17 00:00:00 2001 From: Antony Kellermann Date: Sun, 10 Dec 2023 20:48:30 -0500 Subject: [PATCH] 3.0.0 --- .node-version | 2 +- logo.ico | Bin 0 -> 8233 bytes logo.png | Bin 0 -> 5742 bytes notion-repackaged.sh | 9 ++++++--- patches/no-sandbox-flag.patch | 10 ---------- patches/remove-postinstall.patch | 12 ------------ scripts/build-locally.sh | 1 + scripts/extract-src.sh | 27 ++++----------------------- 8 files changed, 12 insertions(+), 49 deletions(-) create mode 100644 logo.ico create mode 100644 logo.png delete mode 100644 patches/no-sandbox-flag.patch delete mode 100644 patches/remove-postinstall.patch diff --git a/.node-version b/.node-version index 1b497a7..aad5ebe 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16.20.2 \ No newline at end of file +20.8.0 \ No newline at end of file diff --git a/logo.ico b/logo.ico new file mode 100644 index 0000000000000000000000000000000000000000..c5c2d20196d31ed98f1dae739e3685402600ee82 GIT binary patch literal 8233 zcmZ8mcOaEt+&}la_TGCYRLFL-XGXTHWD8}lkag{uRUwj$BwO}g86~nwh?JR8_I{7w z`~LM_$MrbRbH3j*zT@-#JOCiz&*cXJ*Z?IP05tGAMn_A9n1F!*UJ|RRD(PL`z5K<) zfq(9M6xsp6I<2N8f7f?ouZOE~q{m+1B1etqrwhRz+n#i3M*>N|WJN&F;JIc9$p&-Bv%_SeTNnyu;3;!@T2 z9}8gbygd@4&*+X$Mm4*=mQBfw5gg_`nDO5nIBT9KYvB^l_H52RI0}@Z!0VKwvvC3D zU{m8Cm8$4VBcmm0k0sGGC9PP*VKCqThKLei{DSiuyF}Y#MG9wNMM`Ir;rU1_^P-AY z7X3kT*+A@*5_P*cXhjO#P#Xzd5vs!C1SDaC1>&fiHFIe?g)kdlv6iaaMG1!*z*QUO4Keq94K9%?= zT3#GM4Oo-OP60kp@yM8rIR4bo<{0>(NvwQh5Qz~U6J|eJO#f*%WEcEGA5@*(;U9z zo4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Ic;d6Ax zU^pTGIe-8C!1;YAb|CjSc}NH(4*z(YwVjtUKFy!j|Jk!Od?)&f^t6S01<`jr00erb zlSri0%~jD^UjdO?N`5hEzcjiqd7DU9i%jeR%__Fc?2|0k3X}iR51!mR2T8n6&Yzbr zUy0RH%(t5>&9LR~;~1iCPNLw;}602mpH02_KRVwFIWKp>jEx zE0^04Qn(dJ%Mc$;3!?7?K#oJs7>9bbJ+t!5I?l+z{^|3R*XWU&fG>s9EmTf?K(1DD zn+_xW^9i{jX9DXhPr~*mOQMq|JNgqZ`^^Gut~%WWa{D4Vx?nJNTMeu_m%E?NKfmbQ z%n-Xca7y94#xH@z@ty!N)b}co25C7qm5}TGe?jk(yI`%)z09_o{9g+_=08 zFzmoJY_tJM!=8{;>fU};1f;yZYZEL^ptcnrJlr}dY>1-kD9WUQkjBf G=>GuleC!?o literal 0 HcmV?d00001 diff --git a/logo.png b/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..129334392129e8da00fd308e2448206bf09a83dc GIT binary patch literal 5742 zcmZ{IcQo8z6z6vs(FGy8VDw(2izK=r#DqjIBSde}8N}#4h$s;xYGU*jOq3adAt5n( zH=?)bV&}JK&z{{qXaBnQzVH3K&%O8E?|bjO_{WCY)D)}~002S&k%0EnQ105UK^ z9EaF$69kuoj)?&P1oHy`{51fa6NcdH0N^hP02{Udp!601n7s1aj8zC9i0t*XHGu2b z)S)hdMe3((ph=3SqF`X63hp-A0RTo5U5)#ufm7QBVR3J?3o-Xben#G4bDOmOl9Lxh zE+47*dzC+bQR_D!LO-sK0#e3H-=o-zq|tpG&y8TVm!ywI2ueMQQuO=LBf38d;WQkj zO>J?cA*OLlDR3ac;}oSMtwRwFxHLrDz4I`q^Pr7C!G&doIp?xUs$;+Yjz8)0?3k$G zq>L8ODC7w`V0c%v%Fv%K@UWA!{86qn-@lw^pK|S|gf|TXRUs@qh0~D8x&G|>6tWz1<%UM+{L;itM-BEdJ8H+VD71`p-g$=cp?jA&v6C2QD?d}I(2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X-~W--^L52KWOhh;B@x@}!9t4YnW~4l*Hq^X z4xV(^MCK?6KqBe3pJjZRXvw=T-Y8mr-kbIUwibeIq1K~Ps~fwL3dnI>O4p$JeyVtZ zH}tT^)-cT$7)8+bWnaB{&*Eqxv%&e2Pauq;z|Q6T>`lqe6J;~8h~vyAT8v{b(TJ-A zhi*7^d}f`tRZ_$B7km($2IP1eCFk)$Sf#skcVx zYp7u~`uonxABb5%gnOVG(}wj33B^&+$-tDOmD}|%0TA4LkTHHO_OH!&LH>bY%Srnx2?cZNB;c z)<5o8STJ4xFe8L8K%HwDBu1ZVJ0$Te{BS_Ue?^$>Gv8f_GeT!gD?o1T@HnWQHNS$i zmxug1ZBwOBYLD=sNY_h4;;0sH~?gQiueG#C((z4b0$nA0QclPTZ`A6PX zP2|4WBDp!hRcA@odnlsVpsbkn&d|_6#v(EpNg@u= zve395UXL4n^!VP@ps3iGJ6ZRaUjhsQ;^@#qm6%(KN*qc09O%zk^UlGk^5nVzR|5Mo z`E2uMF8T*2p*HoG=(%qSgkL5O${s(CLi)F0E~Bu}l1u*Z>*wV}0Bz6K@_t(O##ZoI zBa_*%cX?qCmmk5K2;#Pulb|2Gs@YSL;*q_x163L2fwS@q(pE7qd9K&op&T{5nA9(b zE*Uo+vD>>gqP~%m2MUfLJh<}tX`1^v+WEnh9DHB|0Z2 /dev/null log "Installing dependencies..." +export SKIP_POSTINSTALL=true npm install log "Running patch-package" diff --git a/scripts/extract-src.sh b/scripts/extract-src.sh index a71283e..2f0e3ce 100755 --- a/scripts/extract-src.sh +++ b/scripts/extract-src.sh @@ -36,8 +36,9 @@ log "Extracting asar..." asar extract "${NOTION_EXTRACTED_APP_NAME}/resources/app.asar" "${NOTION_EXTRACTED_APP_NAME}/resources/app" log "Copying original app resources..." -mkdir -p "${NOTION_VANILLA_SRC_NAME}" -cp -r "${NOTION_EXTRACTED_APP_NAME}/resources/app/"* "${NOTION_VANILLA_SRC_NAME}" +cp -r "${NOTION_EXTRACTED_APP_NAME}/resources/app/" "${NOTION_VANILLA_SRC_NAME}" +rm "${NOTION_VANILLA_SRC_NAME}"/icon* +cp $WORKSPACE_DIR/logo.png "${NOTION_VANILLA_SRC_NAME}"/icon.png export NOTION_REPACKAGED_VERSION_REV="${NOTION_VERSION}-${NOTION_REPACKAGED_REVISION}" @@ -47,21 +48,6 @@ log "Patching and cleaning source" rm -r node_modules -# behave like windows for OS other than Mac (Windows and Linux) -sed -i 's|process.platform === "win32"|process.platform !== "darwin"|g' main/main.js - -# fix for issues #37, #65 of notion-repackaged (temporary fix) -sed -i 's|sqliteServerEnabled: true|sqliteServerEnabled: false|g' renderer/preload.js - -# fix for issue #63 of notion-repackaged -sed -i 's|error.message.indexOf("/opt/notion-app/app.asar") !== -1|process.platform === "linux"|g' main/autoUpdater.js - -# fix for issue #46 of notion-repackaged -patch -p0 --binary -N -r- < "${WORKSPACE_DIR}/patches/no-sandbox-flag.patch" - -# postinstall doesn't actually exist -patch -p0 --binary -N -r- < "${WORKSPACE_DIR}/patches/remove-postinstall.patch" - find . -type f -name "*.js.map" -exec rm {} + log "Adapting package.json including fixes..." @@ -71,16 +57,11 @@ jq \ --arg repo "${NOTION_REPACKAGED_REPO}" \ --arg author "${NOTION_REPACKAGED_AUTHOR}" \ --arg version "${NOTION_REPACKAGED_VERSION_REV}" \ - '.dependencies.cld="2.7.0" | - .name="notion-app" | + '.name="notion-app" | .homepage=$homepage | .repository=$repo | .author=$author | .version=$version' \ package.json | sponge package.json -log "Converting app icon to png..." - -convert "icon.ico[0]" "icon.png" - popd > /dev/null