kuaifan 2239ea9f58 fix(appbuild): 恢复 electron/build.js 的 'app' 分支做 post-processing
Phase 6 过度简化:把 cmd 的 appbuild 从 electron_operate app "$@" 改成纯
web_build prod,漏掉了 startBuild({id:'app'}) 里做的后处理:

  1. 生成 electron/public/config.js(window.systemInfo.apiUrl 等)
  2. 读 manifest.json 把 index.html 里 <!--style--> / <!--script--> 占位符
     替换为真实资源路径(vite manifest 模式,HTML 不自动注入)
  3. 拷贝 public/language/ 到 electron/public/language/

结果:裸 vite build 跑出来的 public/index.html 还是模板原型,dootask-app
同步过去之后 WebView 加载只能看见占位 HTML 或 404。

恢复方式:
- cmd: appbuild 回到 electron_operate app "$@",但提示词改为指向
  electron/public/ 而不是 resources/mobile(Phase 6 & 7 的 EEUI 清理保留)
- electron/build.js: 重新加回 argv 'app' 的 dispatch,调 startBuild
  (startBuild 内部的 data.id==='app' 分支里 EEUI 特有的逻辑仍然是
  Phase 6 删掉的状态,不会再碰 resources/mobile)

产物位置:electron/public/。用户同步到 dootask-app 的命令已更新到提示词。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 03:33:37 +00:00
2021-05-29 16:52:48 +08:00
2024-11-11 23:31:20 +08:00
2026-04-16 13:02:06 +00:00
2026-04-16 13:02:06 +00:00
2021-05-29 16:52:48 +08:00
2021-05-29 16:52:48 +08:00
2025-09-27 07:09:08 +08:00
2024-11-04 20:11:18 +08:00
2021-05-29 16:52:48 +08:00
2025-03-21 11:34:09 +08:00
2021-05-29 16:52:48 +08:00
2025-11-24 00:38:16 +00:00
2024-12-10 09:09:19 +08:00
2021-05-29 16:52:48 +08:00
2021-05-29 16:52:48 +08:00
2026-04-16 13:02:06 +00:00
2023-03-24 09:08:53 +08:00
2025-05-14 23:55:00 +08:00
2025-09-29 09:19:28 +08:00
2025-10-25 10:46:01 +08:00
2021-11-18 02:31:17 +00:00
2026-04-16 13:02:06 +00:00
2021-05-29 16:52:48 +08:00
2025-05-27 07:32:48 +08:00
2021-08-29 15:49:54 +08:00
2025-05-27 07:32:48 +08:00
2021-05-29 16:52:48 +08:00
2025-10-16 23:56:48 +00:00

DooTask - Open Source Task Management System

English | 中文文档

QQ Group

  • Group Number: 546574618

📍 Migration from 0.x to 1.x

  • Please ensure to back up your data before upgrading!
  • If the upgrade fails, try running ./cmd update multiple times.
  • If you encounter "Container xxx not found" during upgrade, run ./cmd reup and then execute ./cmd update.
  • If you see a 502 error after upgrading, run ./cmd reup to restart the services.
  • If you encounter "Application 'xxx' not installed" after upgrading, log in with the admin account and install the relevant applications from the App Store.

Installation Requirements

  • Required: Docker v20.10+ and Docker Compose v2.0+
  • Supported Systems: CentOS/Debian/Ubuntu/macOS and other Linux/Unix systems
  • Hardware Recommendation: 2+ cores, 4GB+ memory
  • Special Note: Windows users can install Linux environment using WSL2 before installing DooTask.

Deploy Project

# 1、Clone the project to your local machine or server

# Clone project from GitHub
git clone --depth=1 https://github.com/kuaifan/dootask.git
# Or you can use Gitee
git clone --depth=1 https://gitee.com/aipaw/dootask.git

# 2、Enter directory
cd dootask

# 3、One-click installation (Custom port installation: ./cmd install --port 80)
./cmd install

Reset Password

# Reset default administrator password
./cmd repassword

Change Port

# This method only changes HTTP port. For HTTPS port, please read SSL configuration below
./cmd port 80

Stop Service

./cmd down

Start Service

./cmd up

Development & Build

Please ensure you have installed NodeJs 20+

# Development mode
./cmd dev
   
# Build project (This is for web client. For desktop apps, refer to ".github/workflows/publish.yml")
./cmd prod  

SSL Configuration

Method 1: Automatic Configuration

# Run command and follow the prompts
./cmd https

Method 2: Nginx Proxy Configuration

# 1、Add Nginx proxy configuration
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

# 2、Run command (To cancel Nginx proxy configuration: ./cmd https close)
./cmd https agent

Upgrade & Update

Note: Please backup your data before upgrading!

./cmd update
  • Please retry if upgrade fails across major versions.
  • If you encounter 502 errors after upgrade, run ./cmd reup to restart services.

Project Migration

After installing the new project, follow these steps to complete migration:

1、Backup original database

# Run command in the old project
./cmd mysql backup

2、Copy the following files and directories from old project to the same paths in new project

  • Database backup file
  • docker/appstore
  • public/uploads

3、Restore database to new project

# Run command in the new project
./cmd mysql recovery

Uninstall Project

./cmd uninstall

More Commands

./cmd help
Description
DooTask是一款开源在线项目任务管理工具,提供各类文档协作工具、在线思维导图、在线流程图、项目管理、任务分发、即时IM,文件管理等工具;同时消息功能使用非对称加密技术让你的沟通更安全。
Readme AGPL-3.0 1 GiB
Languages
PHP 56.7%
Vue 38.5%
HTML 3.4%
Shell 0.6%
Less 0.5%
Other 0.3%