diff --git a/README.en.md b/README.en.md index c3b325c..f1fea8b 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +1,155 @@ -# godoos +
+
+
+
+### 二、文件管理
+- 文件拖拽上传
+- 文件搜索
+- 原生文件存储
+
+
+### 三、内网聊天
+- 无需繁琐的注册流程,只需在同一局域网内,即可自动发现并列出所有可用的聊天对象,即刻开启即时通讯。支持基于局域网的即时消息传输、文件传输等功能,促进团队内部的无缝沟通与协作。
+
+
+### 四、文档
+- 简便的word编辑器,原生存储,支持二维码、手写签名,导入导出
+
+
+### 五、表格
+- 原生存储,Excel编辑器,支持导入、导出,支持图片、公式
+
+
+### 六、markdown
+- 原生存储,采用vditor,支持导入、导出,支持大纲、实时预览
+
+
+### 七、思维导图
+- 内置多种主题;支持快捷键;节点内容支持图片、图标、超链接、备注、标签。
+
+
+### 八、演示文稿
+- 原生存储,采用pptist,支持文字、图片、形状、线条、图表、表格、视频、公式等。
+
+
+### 九、文件编辑器
+- 原生存储,支持打开text/html/css/js/svg/xml/md等,可以当作一个简单的在线editplus。
+
+
+### 十、白板
+- 集自由布局、画笔、便签多种创意表达能力于一体,激发团队创造力,随时随地,围绕一块白板沟通。
+
+
+### 十一、图片编辑
+- 一个小型的photoshop,原生存储,支持搜索图片,支持图片裁剪、旋转、缩放、滤镜等功能
+
+
+### 十二、甘特图
+- 项目管理必备工具,支持自定义项目人员和角色,支持拖拽/管理分配(资源、角色、工作)等。
+
+
+### 十三、浏览器
+- 一款简单的内置浏览器
+
+
+
+### 十四、系统设置
+- 可在这里切换存储方式,可切换系统背景。
+
+
+### 十五、应用商店
+- 应用商店管理,可添加外部应用。
+
+### 十六、截图
+- 一个简单的截图工具。截图后文件存到本地。
+
+### 十七、录屏
+- 一个简单的录屏工具。录屏后录后文件存到本地。
+
+### 十八、计算器
+- 一个仿windows10的计算器,支持历史记录。
+
+
+### 十九、音乐库
+- 一个简单的声音存储库,支持播放音乐。
+
+### 二十、图片库
+- 一个简单的图片存储库,支持查看图片
+
+### 二十一、看板
+- 支持标准看板,项目管理必备工具,可快速创建看板并放置到不同的文件夹
+
+
+## 开发
+### 构建
+- 前端构建
+```bash
+cd frontend
+pnpm i
+pnpm build
+```
+- 后端构建
+```bash
+# go install github.com/wailsapp/wails/v2/cmd/wails@latest
+wails build
+# wails build -nsis -upx //you need install nsis and upx
+```
+## 感谢
+- [element-plus](http://element-plus.org/)
+- [vue3](https://v3.cn.vuejs.org/)
+- [wails](https://wails.io/)
+- [pptist](https://github.com/pipipi-pikachu/PPTist)
+- [vditor](https://github.com/Vanessa219/vditor)
+- [mind-map](https://github.com/wanglin2/mind-map)
+- [canvas-editor](https://github.com/Hufe921/canvas-editor)
\ No newline at end of file
diff --git a/README.md b/README.md
index 4f9b006..ce1406e 100644
--- a/README.md
+++ b/README.md
@@ -3,10 +3,10 @@
## 开发
-
+### 构建
+- 前端构建
+```bash
+cd frontend
+pnpm i
+pnpm build
+```
+- 后端构建
+```bash
+# go install github.com/wailsapp/wails/v2/cmd/wails@latest
+wails build
+# wails build -nsis -upx //you need install nsis and upx
+```
## 感谢
- [element-plus](http://element-plus.org/)
- [vue3](https://v3.cn.vuejs.org/)
@@ -133,3 +153,4 @@
- [pptist](https://github.com/pipipi-pikachu/PPTist)
- [vditor](https://github.com/Vanessa219/vditor)
- [mind-map](https://github.com/wanglin2/mind-map)
+- [canvas-editor](https://github.com/Hufe921/canvas-editor)
\ No newline at end of file
diff --git a/build/windows/installer/tmp/MicrosoftEdgeWebview2Setup.exe b/build/windows/installer/tmp/MicrosoftEdgeWebview2Setup.exe
new file mode 100644
index 0000000..89a56ec
Binary files /dev/null and b/build/windows/installer/tmp/MicrosoftEdgeWebview2Setup.exe differ
diff --git a/build/windows/installer/wails_tools.nsh b/build/windows/installer/wails_tools.nsh
index f9c0f88..88a305b 100644
--- a/build/windows/installer/wails_tools.nsh
+++ b/build/windows/installer/wails_tools.nsh
@@ -5,19 +5,19 @@
!include "FileFunc.nsh"
!ifndef INFO_PROJECTNAME
- !define INFO_PROJECTNAME "{{.Name}}"
+ !define INFO_PROJECTNAME "godoos"
!endif
!ifndef INFO_COMPANYNAME
- !define INFO_COMPANYNAME "{{.Info.CompanyName}}"
+ !define INFO_COMPANYNAME "godoos"
!endif
!ifndef INFO_PRODUCTNAME
- !define INFO_PRODUCTNAME "{{.Info.ProductName}}"
+ !define INFO_PRODUCTNAME "godoos"
!endif
!ifndef INFO_PRODUCTVERSION
- !define INFO_PRODUCTVERSION "{{.Info.ProductVersion}}"
+ !define INFO_PRODUCTVERSION "1.0.0"
!endif
!ifndef INFO_COPYRIGHT
- !define INFO_COPYRIGHT "{{.Info.Copyright}}"
+ !define INFO_COPYRIGHT "Copyright........."
!endif
!ifndef PRODUCT_EXECUTABLE
!define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe"
@@ -203,20 +203,12 @@ RequestExecutionLevel "${REQUEST_EXECUTION_LEVEL}"
!macro wails.associateFiles
; Create file associations
- {{range .Info.FileAssociations}}
- !insertmacro APP_ASSOCIATE "{{.Ext}}" "{{.Name}}" "{{.Description}}" "$INSTDIR\{{.IconName}}.ico" "Open with ${INFO_PRODUCTNAME}" "$INSTDIR\${PRODUCT_EXECUTABLE} $\"%1$\""
-
- File "..\{{.IconName}}.ico"
- {{end}}
+
!macroend
!macro wails.unassociateFiles
; Delete app associations
- {{range .Info.FileAssociations}}
- !insertmacro APP_UNASSOCIATE "{{.Ext}}" "{{.Name}}"
-
- Delete "$INSTDIR\{{.IconName}}.ico"
- {{end}}
+
!macroend
!macro CUSTOM_PROTOCOL_ASSOCIATE PROTOCOL DESCRIPTION ICON COMMAND
@@ -235,15 +227,10 @@ RequestExecutionLevel "${REQUEST_EXECUTION_LEVEL}"
!macro wails.associateCustomProtocols
; Create custom protocols associations
- {{range .Info.Protocols}}
- !insertmacro CUSTOM_PROTOCOL_ASSOCIATE "{{.Scheme}}" "{{.Description}}" "$INSTDIR\${PRODUCT_EXECUTABLE},0" "$INSTDIR\${PRODUCT_EXECUTABLE} $\"%1$\""
-
- {{end}}
+
!macroend
!macro wails.unassociateCustomProtocols
; Delete app custom protocol associations
- {{range .Info.Protocols}}
- !insertmacro CUSTOM_PROTOCOL_UNASSOCIATE "{{.Scheme}}"
- {{end}}
+
!macroend
diff --git a/frontend/package.json.md5 b/frontend/package.json.md5
index aa030bc..13a5a5a 100755
--- a/frontend/package.json.md5
+++ b/frontend/package.json.md5
@@ -1 +1 @@
-1fa97678edcc780911c3d714233e97d2
\ No newline at end of file
+7d93ddef64f0624cd1fa203b3d0350ee
\ No newline at end of file
diff --git a/frontend/src/util/update.ts b/frontend/src/util/update.ts
index a93a83b..0fef1c7 100644
--- a/frontend/src/util/update.ts
+++ b/frontend/src/util/update.ts
@@ -18,11 +18,11 @@ export async function checkUpdate() {
if(!verData.assets || verData.assets.length <= 0) return;
const appName = "godoos"+ versionTag + (isWindowsOS() ? '.exe' : '');
const updateUrl = `${updateGiteeUrl}download/${versionTag}/${appName}`;
-
- fetch(`${updateGiteeUrl}latest`).then((r) => {
- if (r.ok) {
- r.json().then((data) => {
- if (data.tag_name) {
+ console.log(updateUrl)
+ // fetch(`${updateGiteeUrl}latest`).then((r) => {
+ // if (r.ok) {
+ // r.json().then((data) => {
+ // if (data.tag_name) {
// const versionTag = data.tag_name;
// console.log(versionTag)
// if (versionTag.replace('v', '') > manifest.version) {
@@ -99,16 +99,16 @@ export async function checkUpdate() {
}
}
*/
- } else {
- throw new Error('Invalid response.');
- }
- });
- } else {
- throw new Error('Network response was not ok.');
- }
- }
- ).catch((e) => {
- //toast(t('Updates Check Error') + ' - ' + (e.message || e), { type: 'error', position: 'bottom-left' });
- });
+ // } else {
+ // throw new Error('Invalid response.');
+ // }
+ // });
+ // } else {
+ // throw new Error('Network response was not ok.');
+ // }
+ // }
+ // ).catch((e) => {
+ // //toast(t('Updates Check Error') + ' - ' + (e.message || e), { type: 'error', position: 'bottom-left' });
+ // });
}
\ No newline at end of file
diff --git a/frontend/wailsjs/go/app/App.d.ts b/frontend/wailsjs/go/app/App.d.ts
new file mode 100644
index 0000000..c18308a
--- /dev/null
+++ b/frontend/wailsjs/go/app/App.d.ts
@@ -0,0 +1,22 @@
+// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
+// This file is automatically generated. DO NOT EDIT
+
+export function AddToDownloadList(arg1:string,arg2:string):Promise