Caten 95d6f662de Adjust data structure and layout
There are a lot of changes compared to the previous version, many features are mixed together and not easy to commit individually.

Added a new control panel
Added advertisements
Moved packets out of assets

Adjusted the data structure, so that it will be easier to add multi-container functionality in the future.
2023-09-12 15:12:26 +08:00
2023-09-12 15:12:26 +08:00
2023-09-12 15:12:26 +08:00
2023-08-29 23:30:37 +08:00
2023-08-29 23:30:37 +08:00
2023-09-12 15:12:26 +08:00
2023-08-29 23:30:37 +08:00
2023-09-03 23:16:00 +08:00
2023-09-12 15:12:26 +08:00
2023-08-29 23:30:37 +08:00
2023-08-29 23:30:37 +08:00
2023-08-29 23:30:37 +08:00
2023-09-12 15:12:26 +08:00
2023-08-29 23:30:37 +08:00
2023-08-29 23:30:37 +08:00
2023-08-30 06:08:01 +08:00
2023-08-30 06:08:01 +08:00
2023-09-12 15:12:26 +08:00
2023-09-12 15:12:26 +08:00
2023-09-12 15:12:26 +08:00

小小电脑

即开即用的类PC环境内置WPS、火狐浏览器、VS Code等常用软件

Click-to-run ubuntu jammy xfce on android for Chinese users, with fcitx pinyin input method and wps office preinstalled. No termux required.

原理

使用proot运行ubuntu环境

内置noVNC显示图形界面

初次启动由于解压的缘故要点时间 以后点开就能用

只支持arm64安卓

项目结构

assets的文件来源如下:

其中busybox和pulseaudio相关文件都是直接用了二进制文件。

pulseaudio我真的编译不来如果你会的话请教教我吧

对ubuntu容器进行了如下修改

  • 安装了xfce环境、tigerVNC、noVNC
  • 使用kali-undercover提供的Win10主题美化xfce
  • 安装了wps office, 对wps office进行了如下修改
    • 界面改成了多组件避免无法打开wps
    • 补上了缺失的字体;
  • 安装了VS Code和中文插件
  • 安装了fcitx输入法和云拼音组件。按<Ctrl+空格>切换输入法。
    • 强烈建议不要使用安卓中文输入法直接输入中文,而是使用英文键盘通过容器的输入法输入中文,避免丢字错字。
  • 对noVNC进行修改 (scale_factor分支)添加了scale factor滑块控制缩放
  • 在主目录下提供storage文件夹通过此文件夹可以方便地访问手机存储(如果提供了存储权限的话)
  • 启动时会尝试挂载手机的一些字体目录(AppFiles/Fonts、Fonts和/system/fonts), 如果这些目录下有字体文件的话会一并加载到系统中,无需额外安装
  • 最后采用tar.xz压缩用split命令分成了xa*等多个文件

数据包不再在assets中更新而是随releases提供主要是为了避免git越来越大

lib目录

  • main.dart文件页面布局老实说已经有点乱了
  • workflow.dart文件逻辑部分目前也还算简单
    • Util 工具类
    • G 全局变量类
    • Workflow 从软件点开到容器启动的所有步骤

目前已知bug

多用户/分身情形无法使用apt, 其它见issue

一些链接

这是我的第一个flutter软件感谢这些项目为我指路

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Description
No description provided
Readme 1.7 GiB
Languages
Dart 68.3%
C 11.4%
Java 6.3%
Shell 4.7%
Kotlin 4.4%
Other 4.9%