Skip to content

Commit 9c3b682

Browse files
authored
Merge pull request #12 from brunofin/develop
v1.0.5
2 parents 0d7edd1 + 6f03b2e commit 9c3b682

File tree

14 files changed

+50
-14
lines changed

14 files changed

+50
-14
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ dist/
66

77
# Electron builder output
88
build/
9+
10+
browser-extension/chrome/chrome.zip
11+
browser-extension/firefox/firefox.zip

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Use the browser extension to open Notion links shared in 3rd party apps such as
3434
Cohesion supports command-line arguments to customize its behavior:
3535

3636
- `--start-hidden`: Launches Cohesion in a hidden state, accessible from the system tray.
37+
- `--disable-spellcheck`: Disables spellcheck in the editor. In the future, users will be able to do that through the app settings, and select multiple languages.
3738

3839
## Development
3940

browser-extension/chrome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Cohesion Redirector",
44
"version": "1.0",
5-
"permissions": ["tabs", "activeTab"],
5+
"permissions": ["tabs"],
66
"background": {
77
"service_worker": "background.js"
88
},
77.7 KB
Loading
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
chrome.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
2+
if (changeInfo.url && changeInfo.url.startsWith('https://www.notion.so/')) {
3+
chrome.tabs.create({ url: changeInfo.url.replace('https://www.notion.so/', 'notion://www.notion.so/') });
4+
chrome.tabs.remove(tabId);
5+
}
6+
});

browser-extension/firefox/icon.png

6.82 KB
Loading
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"manifest_version": 2,
3+
"name": "Cohesion Redirector",
4+
"version": "1.0",
5+
"description": "Redirects Notion URLs to the Cohesion desktop app.",
6+
"permissions": [
7+
"tabs",
8+
"webNavigation"
9+
],
10+
"background": {
11+
"scripts": ["background.js"],
12+
"persistent": false
13+
},
14+
"icons": {
15+
"48": "icon.png"
16+
}
17+
}
77.7 KB
Loading

data/io.github.brunofin.Cohesion.appdata.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
</screenshots>
3737

3838
<releases>
39+
<release version="1.0.5" date="2024-04-22">
40+
<description>
41+
<p>#9 A javascript error occurred in the main process</p>
42+
<p>#8 Is there a way to disable spell check?</p>
43+
<p>#3 Notifications are not detected when there are more than 9</p>
44+
</description>
45+
</release>
3946
<release version="1.0.4" date="2024-04-16">
4047
<description>
4148
<p>Add Chrome and Firefox extensions to open Notion links shared in 3rd party apps in Cohesion instead of the browser. Check the GitHub README.md file for extension links.</p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cohesion",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "A Notion Desktop client for Linux",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)