summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2023-10-03 03:09:20 +0100
committerLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2023-10-03 03:09:20 +0100
commitfbe67ea36c2691a9e75740182f8e0f413b470e8b (patch)
treead82b96d473d7713350b80c6d81044aaccacf679
parentMerge branch 'develop' into release (Bump to 6.5.0) (diff)
parentRevert "Update macos-notification-state for patched v3.0.0 (#1361)" (#1388) (diff)
downloadferdium-app-fbe67ea36c2691a9e75740182f8e0f413b470e8b.tar.gz
ferdium-app-fbe67ea36c2691a9e75740182f8e0f413b470e8b.tar.zst
ferdium-app-fbe67ea36c2691a9e75740182f8e0f413b470e8b.zip
Merge branch 'develop' into release (Bump to 6.5.1)v6.5.1
-rw-r--r--CONTRIBUTING.md11
-rw-r--r--package.json4
-rw-r--r--pnpm-lock.yaml17
m---------recipes0
-rw-r--r--src/electron/ipc-api/dnd.ts2
5 files changed, 17 insertions, 17 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8a6268274..ffda7acb9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -186,8 +186,15 @@ git merge --no-ff nightly --no-verify
186# <run the build script for your OS from the `scripts` folder> 186# <run the build script for your OS from the `scripts` folder>
187# <add all pertinent changes to git> 187# <add all pertinent changes to git>
188# <create commit> 188# <create commit>
189# <create tag> 189git push upstream release
190git push 190# Note: Do NOT allow the GHA release process to create the tag automatically, since that will be at the SHA in the develop branch and not on the release branch - which is logically incorrect
191git tag v$(node -p 'require("./package.json").version')
192git push upstream --tags
193# Note: GHA will automatically build with publish since its the release branch
194# Note: Once the GHA action is completed, verify the builds (there should be 32 assets before publishing)
195gco develop
196# <If its a public release, manually bump to next nightly.0 version in package.json>
197# <If its a public release, manually fix homebrew-ferdium PR>
191``` 198```
192 199
193This will automatically trigger the build, as part of which, a new, draft release will be created [here](https://github.com/ferdium/ferdium-app/releases/). Once all the assets are uploaded (19 assets in total), publish the release (you will need elevated permissions in GitHub for doing this). The last commit of the `release` branch will be tagged. 200This will automatically trigger the build, as part of which, a new, draft release will be created [here](https://github.com/ferdium/ferdium-app/releases/). Once all the assets are uploaded (19 assets in total), publish the release (you will need elevated permissions in GitHub for doing this). The last commit of the `release` branch will be tagged.
diff --git a/package.json b/package.json
index f2fefdd2f..cdfc7eefa 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
3 "productName": "Ferdium", 3 "productName": "Ferdium",
4 "desktopName": "ferdium.desktop", 4 "desktopName": "ferdium.desktop",
5 "appId": "org.ferdium.ferdium-app", 5 "appId": "org.ferdium.ferdium-app",
6 "version": "6.5.0", 6 "version": "6.5.1",
7 "description": "Messaging app for WhatsApp, Slack, Telegram, Hangouts and many many more.", 7 "description": "Messaging app for WhatsApp, Slack, Telegram, Hangouts and many many more.",
8 "author": "Ferdium Contributors <hello@ferdium.org> (https://ferdium.org/)", 8 "author": "Ferdium Contributors <hello@ferdium.org> (https://ferdium.org/)",
9 "license": "Apache-2.0", 9 "license": "Apache-2.0",
@@ -230,7 +230,7 @@
230 "usocket": "_EXCLUDED_" 230 "usocket": "_EXCLUDED_"
231 }, 231 },
232 "optionalDependencies": { 232 "optionalDependencies": {
233 "macos-notification-state": "github:ferdium/macos-notification-state#e0465373b0aed12ea4ce30522e82aaa8706cdf40", 233 "macos-notification-state": "github:ferdium/macos-notification-state#130bb2602795b65ae2dea74d823027b185eaf0ae",
234 "node-mac-permissions": "2.3.0" 234 "node-mac-permissions": "2.3.0"
235 }, 235 },
236 "browserslist": [ 236 "browserslist": [
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ebcf767ed..ed9552d93 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -263,8 +263,8 @@ dependencies:
263 263
264optionalDependencies: 264optionalDependencies:
265 macos-notification-state: 265 macos-notification-state:
266 specifier: github:ferdium/macos-notification-state#e0465373b0aed12ea4ce30522e82aaa8706cdf40 266 specifier: github:ferdium/macos-notification-state#130bb2602795b65ae2dea74d823027b185eaf0ae
267 version: github.com/ferdium/macos-notification-state/e0465373b0aed12ea4ce30522e82aaa8706cdf40 267 version: github.com/ferdium/macos-notification-state/130bb2602795b65ae2dea74d823027b185eaf0ae
268 node-mac-permissions: 268 node-mac-permissions:
269 specifier: 2.3.0 269 specifier: 2.3.0
270 version: 2.3.0 270 version: 2.3.0
@@ -9989,12 +9989,6 @@ packages:
9989 dev: true 9989 dev: true
9990 optional: true 9990 optional: true
9991 9991
9992 /node-addon-api@3.0.0:
9993 resolution: {integrity: sha512-sSHCgWfJ+Lui/u+0msF3oyCgvdkhxDbkCS6Q8uiJquzOimkJBvX6hl5aSSA7DR1XbMpdM8r7phjcF63sF4rkKg==}
9994 requiresBuild: true
9995 dev: false
9996 optional: true
9997
9998 /node-addon-api@3.2.1: 9992 /node-addon-api@3.2.1:
9999 resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} 9993 resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==}
10000 requiresBuild: true 9994 requiresBuild: true
@@ -13728,13 +13722,12 @@ packages:
13728 stack-trace: 0.0.10 13722 stack-trace: 0.0.10
13729 dev: false 13723 dev: false
13730 13724
13731 github.com/ferdium/macos-notification-state/e0465373b0aed12ea4ce30522e82aaa8706cdf40: 13725 github.com/ferdium/macos-notification-state/130bb2602795b65ae2dea74d823027b185eaf0ae:
13732 resolution: {tarball: https://codeload.github.com/ferdium/macos-notification-state/tar.gz/e0465373b0aed12ea4ce30522e82aaa8706cdf40} 13726 resolution: {tarball: https://codeload.github.com/ferdium/macos-notification-state/tar.gz/130bb2602795b65ae2dea74d823027b185eaf0ae}
13733 name: macos-notification-state 13727 name: macos-notification-state
13734 version: 3.0.0 13728 version: 2.0.2
13735 requiresBuild: true 13729 requiresBuild: true
13736 dependencies: 13730 dependencies:
13737 bindings: 1.5.0 13731 bindings: 1.5.0
13738 node-addon-api: 3.0.0
13739 dev: false 13732 dev: false
13740 optional: true 13733 optional: true
diff --git a/recipes b/recipes
Subproject cdafac130fd454610d1fa2cb53b061b17b64e2c Subproject 36774cff661e1306ffd1b4ff5fce432eb107570
diff --git a/src/electron/ipc-api/dnd.ts b/src/electron/ipc-api/dnd.ts
index 30ace7c84..6e6e0920f 100644
--- a/src/electron/ipc-api/dnd.ts
+++ b/src/electron/ipc-api/dnd.ts
@@ -17,7 +17,7 @@ export default async () => {
17 } 17 }
18 18
19 try { 19 try {
20 const isDND = await getDoNotDisturb(); 20 const isDND = getDoNotDisturb();
21 debug('Fetching DND state, set to', isDND); 21 debug('Fetching DND state, set to', isDND);
22 return isDND; 22 return isDND;
23 } catch (error) { 23 } catch (error) {