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
+
-#### Installation
+[![license][license-image]][license-url]
-1. xxxx
-2. xxxx
-3. xxxx
+[English](README.md) | 简体中文
-#### Instructions
+### 安装
-1. xxxx
-2. xxxx
-3. xxxx
+[![Windows][Windows-image]][Windows-url]
+[![MacOS][MacOS-image]][MacOS-url]
+[![Linux][Linux-image]][Linux-url]
-#### Contribution
+[官方文档](./docs/Api.md) | [使用说明](./docs/Guide.md)
-1. Fork the repository
-2. Create Feat_xxx branch
-3. Commit your code
-4. Create Pull Request
+[license-image]: ./docs/img/license_%20MIT.svg
+[license-url]: https://spdx.org/licenses/MIT.html
-#### Gitee Feature
-1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
-2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
-3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
-4. The most valuable open source project [GVP](https://gitee.com/gvp)
-5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
-6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
+[Windows-image]: ./docs/img/Windows.svg
+
+[Windows-url]: https://
+
+[MacOS-image]: ./docs/img/MacOS.svg
+
+[MacOS-url]: https://
+
+[Linux-image]: ./docs/img/Linux.svg
+
+[Linux-url]: https://
+
+
+
+## 亮点
+- 零配置,无需注册,下载即用
+- 零污染,无插件依赖
+- 精小,打包后仅63M,确包含了所有的办公套件
+- 可无限扩展,支持自定义应用
+- golang开发后端,低资源消耗和高性能
+
+## 功能说明
+
+### 一、系统桌面
+- 精仿windows风格
+- 桌面文件管理
+- 支持原生文件拖拽上传
+
-
一款高效的内网办公平台,内含word/excel/ppt/pdf/内网聊天/白板/思维导图等多个办公系统工具,支持原生文件存储。平台界面精仿windows风格,操作简便,同时保持低资源消耗和高性能运行。无需注册即可自动连接内网用户,实现即时通讯和文件共享。
+
+
[![license][license-image]][license-url]
[English](README.md) | 简体中文
@@ -26,18 +26,26 @@
[Windows-image]: ./docs/img/Windows.svg
-[Windows-url]: https://
+[Windows-url]: https://gitee.com/ruitao_admin/godoos/releases/download/v1.0.0/godoos-windows.exe
[MacOS-image]: ./docs/img/MacOS.svg
-[MacOS-url]: https://
+[MacOS-url]: https://gitee.com/ruitao_admin/godoos/releases/download/v1.0.0/godoos-macos.dmg
[Linux-image]: ./docs/img/Linux.svg
-[Linux-url]: https://
+[Linux-url]: https://gitee.com/ruitao_admin/godoos/releases/download/v1.0.0/godoos-linux
+## 亮点
+- 无需联网使用,全开源
+- 零配置,无需注册,下载即用
+- 零污染,无插件依赖
+- 精小,打包后仅61M,确包含了所有的办公套件
+- 可无限扩展,支持自定义应用
+- golang开发后端,低资源消耗和高性能
+
## 功能说明
### 一、系统桌面
@@ -125,7 +133,19 @@

## 开发
-
+### 构建
+- 前端构建
+```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
;
+
+export function ContinueDownload(arg1:string):Promise;
+
+export function DownloadFile(arg1:string,arg2:string):Promise;
+
+export function DownloadLoop():Promise;
+
+export function GetAbsPath(arg1:string):Promise;
+
+export function GetPlatform():Promise;
+
+export function OpenDirDialog():Promise;
+
+export function PauseDownload(arg1:string):Promise;
+
+export function RestartApp():Promise;
+
+export function UpdateApp(arg1:string):Promise;
diff --git a/frontend/wailsjs/go/app/App.js b/frontend/wailsjs/go/app/App.js
new file mode 100644
index 0000000..31dfc12
--- /dev/null
+++ b/frontend/wailsjs/go/app/App.js
@@ -0,0 +1,43 @@
+// @ts-check
+// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
+// This file is automatically generated. DO NOT EDIT
+
+export function AddToDownloadList(arg1, arg2) {
+ return window['go']['app']['App']['AddToDownloadList'](arg1, arg2);
+}
+
+export function ContinueDownload(arg1) {
+ return window['go']['app']['App']['ContinueDownload'](arg1);
+}
+
+export function DownloadFile(arg1, arg2) {
+ return window['go']['app']['App']['DownloadFile'](arg1, arg2);
+}
+
+export function DownloadLoop() {
+ return window['go']['app']['App']['DownloadLoop']();
+}
+
+export function GetAbsPath(arg1) {
+ return window['go']['app']['App']['GetAbsPath'](arg1);
+}
+
+export function GetPlatform() {
+ return window['go']['app']['App']['GetPlatform']();
+}
+
+export function OpenDirDialog() {
+ return window['go']['app']['App']['OpenDirDialog']();
+}
+
+export function PauseDownload(arg1) {
+ return window['go']['app']['App']['PauseDownload'](arg1);
+}
+
+export function RestartApp() {
+ return window['go']['app']['App']['RestartApp']();
+}
+
+export function UpdateApp(arg1) {
+ return window['go']['app']['App']['UpdateApp'](arg1);
+}
diff --git a/frontend/wailsjs/go/main/App.d.ts b/frontend/wailsjs/go/main/App.d.ts
deleted file mode 100755
index 569ded1..0000000
--- a/frontend/wailsjs/go/main/App.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
-// This file is automatically generated. DO NOT EDIT
-
-export function OpenDirDialog():Promise;
diff --git a/frontend/wailsjs/go/main/App.js b/frontend/wailsjs/go/main/App.js
deleted file mode 100755
index d7f679f..0000000
--- a/frontend/wailsjs/go/main/App.js
+++ /dev/null
@@ -1,7 +0,0 @@
-// @ts-check
-// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
-// This file is automatically generated. DO NOT EDIT
-
-export function OpenDirDialog() {
- return window['go']['main']['App']['OpenDirDialog']();
-}
diff --git a/wails.json b/wails.json
index 063f121..abd51d4 100644
--- a/wails.json
+++ b/wails.json
@@ -7,7 +7,7 @@
"frontend:dev:watcher": "pnpm dev",
"frontend:dev:serverUrl": "auto",
"author": {
- "name": "aiok",
+ "name": "ruitao",
"email": "xpbb@qq.com"
}
}