Skip to content

Commit 229b7cb

Browse files
committed
Release: notion 2.0.18 and enhancer 0.11.0
1 parent a17c0c1 commit 229b7cb

27 files changed

+177
-440
lines changed

.github/workflows/notion-repackaged.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
NOTION_REPACKAGED_REVISION: ${{ needs.preload-variables.outputs.notion_repackaged_revision }}
6161
steps:
6262
- uses: actions/checkout@v2
63+
- name: Install moreutils
64+
run: sudo apt-get install -y moreutils
6365
- name: Download official Windows build
6466
env:
6567
NOTION_DOWNLOAD_HASH: ${{ needs.preload-variables.outputs.notion_download_hash }}
@@ -81,6 +83,8 @@ jobs:
8183
runs-on: ubuntu-latest
8284
steps:
8385
- uses: actions/checkout@v2
86+
- name: Install icnsutils and moreutils
87+
run: sudo apt-get install -y icnsutils moreutils
8488
- name: Retrieve saved vanilla sources
8589
uses: actions/download-artifact@v2
8690
with:
@@ -89,8 +93,6 @@ jobs:
8993
- name: Unzip sources with 7z
9094
working-directory: build
9195
run: 7z x vanilla-src.zip
92-
- name: Install icnsutils
93-
run: sudo apt-get install -y icnsutils
9496
- name: Enhance extracted sources
9597
env:
9698
NOTION_ENHANCER_COMMIT: ${{ needs.preload-variables.outputs.notion_enhancer_commit }}
@@ -157,7 +159,8 @@ jobs:
157159
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158160
NOTION_REPACKAGED_EDITION: ${{ matrix.edition }}
159161
run: npx electron-builder --${{ matrix.target }} -c ../electron-builder.js
160-
162+
- name: Print packages md5 checksums
163+
run: find ./dist/ -type f -exec md5sum {} +
161164
cleanup:
162165
name: Cleanup artifacts
163166
if: always()

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
build
1+
build
2+
.vscode

assets/enhancer-icons/128x128.png

-5.12 KB
Binary file not shown.

assets/enhancer-icons/16x16.png

-623 Bytes
Binary file not shown.

assets/enhancer-icons/256x256.png

-10.5 KB
Binary file not shown.

assets/enhancer-icons/32x32.png

-1.27 KB
Binary file not shown.

assets/enhancer-icons/48x48.png

-1.97 KB
Binary file not shown.

assets/enhancer-icons/512x512.png

-20.8 KB
Binary file not shown.

electron-builder.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const combineTargetAndArch = (targets, architectures = ['x64', 'arm64']) =>
2929
targets.map((target) => ({ target, arch: architectures }));
3030

3131
module.exports = {
32-
asar: isVanilla,
32+
asar: true,
3333
productName: productName,
3434
extraMetadata: {
3535
description: productDescription,
@@ -61,7 +61,21 @@ module.exports = {
6161
},
6262
target: combineTargetAndArch(['AppImage', 'deb', 'rpm', 'pacman', 'zip']),
6363
},
64-
deb: { fpm: fpmOptions },
64+
deb: {
65+
fpm: fpmOptions,
66+
depends: [
67+
'libgtk-3-0',
68+
'libnotify4',
69+
'libnss3',
70+
'libxss1',
71+
'libxtst6',
72+
'xdg-utils',
73+
'libatspi2.0-0',
74+
'libuuid1',
75+
'libsecret-1-0',
76+
/* 'libappindicator3-1', */
77+
],
78+
},
6579
pacman: { fpm: fpmOptions },
6680
rpm: { fpm: fpmOptions },
6781
publish: ['github'],

notion-repackaged.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
# To bring these variables to your shell, run "source notion-repackaged.sh"
44
#
55

6-
export NOTION_VERSION=2.0.16
7-
export NOTION_REPACKAGED_REVISION=5
8-
export NOTION_DOWNLOAD_HASH=9f72284086cda3977f7f569dff3974d5
9-
export NOTION_ENHANCER_COMMIT=b248ffa3bac393f267a4600d4e951aba8565f31e
6+
# Version of the original Notion App installer to repackage
7+
export NOTION_VERSION=2.0.18
108

9+
# Revision of the current version
10+
export NOTION_REPACKAGED_REVISION=1
11+
12+
# The md5sum hash of the downloaded .exe for the installer
13+
export NOTION_DOWNLOAD_HASH=31bb8b9d547cb5385b9f04017214a206
14+
15+
# The commit of notion-enhancer/desktop to target
16+
export NOTION_ENHANCER_DESKTOP_COMMIT=34189f6a417821343a8360f9ba7061c0bd03570c

0 commit comments

Comments
 (0)