From dc9227aef46b1bc7b6a4902d84882e7a61b222c8 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 30 May 2022 09:54:04 +0800 Subject: [PATCH 1/3] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF?= =?UTF-8?q?=E6=89=98=E7=9B=98=E5=9B=BE=E6=A0=87=E8=8F=9C=E5=8D=95=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E8=8F=9C=E5=8D=95=E9=A1=B9=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/5046?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/electron/main.js b/app/electron/main.js index 61e029b47..963d6a63a 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -381,6 +381,18 @@ const boot = () => { mainWindow.hide() }, }, + { + label: 'Official Website', + click: () => { + shell.openExternal('https://b3log.org/siyuan/') + } + }, + { + label: 'Open Source', + click: () => { + shell.openExternal('https://github.com/siyuan-note/siyuan') + } + }, { label: 'Quit', click: () => { From a705a690b4d3178bbd22d627af405da7ac0d9a7f Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 30 May 2022 09:58:24 +0800 Subject: [PATCH 2/3] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF?= =?UTF-8?q?=E6=89=98=E7=9B=98=E5=9B=BE=E6=A0=87=E8=8F=9C=E5=8D=95=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E8=8F=9C=E5=8D=95=E9=A1=B9=20Fix=20https://github.com?= =?UTF-8?q?/siyuan-note/siyuan/issues/5046?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/electron/main.js b/app/electron/main.js index 963d6a63a..879e407c4 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -393,6 +393,12 @@ const boot = () => { shell.openExternal('https://github.com/siyuan-note/siyuan') } }, + { + label: '中文反馈', + click: () => { + shell.openExternal('https://ld246.com/article/1649901726096') + } + }, { label: 'Quit', click: () => { From 1eef383cb9fb3065504cd9fd25c5866044c42fdd Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 30 May 2022 10:00:01 +0800 Subject: [PATCH 3/3] :art: dev mode --- kernel/util/working.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/util/working.go b/kernel/util/working.go index 6f935f61d..01880d746 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -34,9 +34,9 @@ import ( goPS "github.com/mitchellh/go-ps" ) -//var Mode = "dev" -// -var Mode = "prod" +var Mode = "dev" + +//var Mode = "prod" const ( Ver = "2.0.14"