Skip to content

Commit

Permalink
refactor!: temporarily remove /desktop app
Browse files Browse the repository at this point in the history
They moved to desktop branch
  • Loading branch information
Chilfish committed May 12, 2024
1 parent 83521fb commit 15c21ae
Show file tree
Hide file tree
Showing 66 changed files with 297 additions and 5,476 deletions.
67 changes: 0 additions & 67 deletions .github/_release-desktop.yml

This file was deleted.

9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
更多操作细节可见 [使用教程]

> [!IMPORTANT]
> 该项目还在锐意开发中,可能会有很多不稳定的 bug 等,欢迎大家提 issues 或发起讨论😇暂时只接受改 bug 的 pr <br/>
> 该项目还在锐意开发中,可能会有很多不稳定的 bug 等,欢迎大家提 issues 或发起讨论😇<br/>
> 有关项目的进展路线等,可见 [项目的 Todo] 部分
如果想体验预览版,在 [actions] 中会自动构建每次提交的 beta 版本
Expand Down Expand Up @@ -59,25 +59,22 @@

在 packages 目录下:

- [/core](packages/core/) 包含了工具函数、pinia 等数据处理的核心
- [/core](packages/core/) 包含了工具函数、数据处理的核心
- [/ui](packages/ui/) 包含 UI 部分的组件代码
- [/database](packages/database/) Desktop 的 Sqlite3 Drizzle-ORM
- [/shared](packages/shared/) 不含 vue 的共用 lib 库

在 apps 目录下,为最终的应用

- [/web](apps/web/) 是用于最终查看微博数据的网页,目前托管在 [vercel]
- [/monkey](apps/monkey/) 用于打包成油猴脚本
- [/cli](apps/cli) Nodejs 命令行版本
- [/desktop](apps/desktop/) 桌面端版本

只需要在根目录中 `pnpm i` 即为所有子项目安转依赖,`pnpm dev:monkey` 对应的是在 /monkey 中的 `pnpm dev`

而如果只需要开发或打包 web 端,可以运行 `pnpm install:web`,这将只安装 web 端的依赖,届时再运行 `pnpm dev:web` 即可。至于运行打包后的结果,由于是静态的资源,可以直接用 nginx 服务,或是运行 `pnpx serve .\.output\public\` 来查看

> 直接部署到 vercel 前,需要先去 vercel 的项目设置中将 Root Directory 设为 `apps/web`,才能正确识别项目并构建
目前我还在学习着 electron 开发,桌面端部分还得再等等🥺原型什么的还在设计

有关项目的进展路线等,可见 [项目的 Todo] 部分

### 鸣谢
Expand Down
1 change: 0 additions & 1 deletion apps/desktop/.browserslistrc

This file was deleted.

19 changes: 0 additions & 19 deletions apps/desktop/.electron-builder.config.cjs

This file was deleted.

1 change: 0 additions & 1 deletion apps/desktop/.electron-vendors.cache.json

This file was deleted.

3 changes: 0 additions & 3 deletions apps/desktop/.env.example

This file was deleted.

10 changes: 0 additions & 10 deletions apps/desktop/README.md

This file was deleted.

Empty file.
Binary file removed apps/desktop/buildResources/icon.png
Binary file not shown.
35 changes: 0 additions & 35 deletions apps/desktop/main/src/database.ts

This file was deleted.

12 changes: 0 additions & 12 deletions apps/desktop/main/src/fetch.ts

This file was deleted.

49 changes: 0 additions & 49 deletions apps/desktop/main/src/files.ts

This file was deleted.

105 changes: 0 additions & 105 deletions apps/desktop/main/src/index.ts

This file was deleted.

Loading

0 comments on commit 15c21ae

Please sign in to comment.