Compare commits

..

66 Commits
gxde ... master

Author SHA1 Message Date
Caten
553e5862ca Trixie text update 2026-02-06 18:41:17 +08:00
Caten
125791e44c Move fab button 2026-02-06 16:22:48 +08:00
Caten
587e93ca31 Fix links, update packages, update hangover, update readme, update avnc...... update code to v1.1.0 2026-02-06 10:58:04 +08:00
Caten
b2d45c95ac Fix hardcoded document provider name 2026-01-09 09:29:30 +08:00
Caten
b6b9ac61c7 Microphone support 2026-01-08 22:55:51 +08:00
Caten
45da44d078 Remove remaining uos texts 2026-01-08 08:43:19 +08:00
Caten
77fec49a75 Merge pull request #475 from Nriver/master
适配 Flutter 3.38+:使用官方 AssetManifest API 替换已移除的 json
2026-01-07 22:54:15 +08:00
Nate River
8cde9b878a Update asset loading mechanism in workflow.dart
Refactor asset loading to use AssetManifest API for better performance and clarity.
2026-01-07 17:29:44 +08:00
Caten
b15fe80e83 Merge pull request #424 from wcbing/master
Remove UOS-simulation for wechat (#418)
2025-11-01 15:16:54 +08:00
Caten
ae88dea9c5 Merge pull request #425 from wcbing/linuxqq
Update QQ
2025-11-01 15:16:42 +08:00
6425e0443e Remove UOS-simulation for wechat (#418) 2025-10-23 15:39:23 +08:00
Caten
010cf544ea fix 2025-10-21 20:52:29 +08:00
Caten
a4a2898214 Update issue template 2025-10-21 20:44:40 +08:00
wcbing
b2b642e7c0 Update QQ 2025-10-19 11:36:58 +08:00
Caten
23968eb1fc Update README.md 2025-09-14 16:28:22 +08:00
Caten
2aac0e57d7 Simple build script 2025-09-14 13:36:43 +08:00
Caten
ed1c4aa9b1 Fix termux:x11 start & scale 2025-09-14 13:36:20 +08:00
Caten
f2eb3e0491 For English, fix locale, remove CAJViewer, set edmax to English 2025-09-13 12:31:29 +08:00
Caten
d17e515981 Fix IE name 2025-09-12 21:47:37 +08:00
Caten
10f481f976 Fix some text, update code to v1.0.100 2025-09-12 20:39:21 +08:00
Caten
c10d2b733f More English localization 2025-09-12 16:49:40 +08:00
Caten
417cf7feef Remove remaining "fix-to-Chinese" commands 2025-09-12 12:56:28 +08:00
Caten
7b219facfe Update hangover, disable dxvk by default, update bootstrap package 2025-09-12 12:55:47 +08:00
Caten
ed3ec63212 Update hint text 2025-09-10 20:22:41 +08:00
Caten
8f26ed77e7 Update text and version 2025-09-10 17:51:29 +08:00
Caten
db4431d4c7 Add AVNC screen scale feature 2025-09-10 17:32:08 +08:00
Caten
0793f589f2 Update strings.xml 2025-09-09 22:18:38 +08:00
Caten
1f8b83ddb1 Update strings.xml 2025-08-31 11:48:15 +08:00
Caten
ceca9a1892 Update workflow.dart 2025-08-31 11:34:10 +08:00
Caten
4cb8bfb01e Update AVNC 2025-08-31 10:49:57 +08:00
Caten
645e60cf83 Update config.yml 2025-08-31 09:50:44 +08:00
Caten
350f4e93ef Update discussion link, hint for compile/fast command/file access, fix x11, using release keystore, update code to v1.0.99 2025-08-31 07:56:55 +08:00
Caten
ee22cbc1d9 Move some doc to gitee 2025-08-29 21:29:39 +08:00
Caten
51c67ac546 Update signal 9 page 2025-08-29 16:54:13 +08:00
Caten
ba43ec7ad0 Update logo 2025-08-29 16:53:53 +08:00
Caten
1203dcf737 Update avnc, remove the embedded termux:x11 and import it as a flutter plugin, fix app name 2025-08-29 01:38:16 +08:00
Caten
d9c4c24adc Update hint text, permission and version, update code to v1.0.25 2025-08-05 15:49:03 +08:00
Caten
3b84c7da2c Update hangover stable link to 10.11 2025-08-04 21:29:00 +08:00
Caten
3a6d22956f Move pulseaudio executable to jniLibs 2025-08-04 21:15:35 +08:00
Caten
8b5013a479 Fix WPS link (8th time) 2025-08-04 21:12:43 +08:00
Caten
6d924bded9 Update build-tiny-rootfs.md 2025-08-04 17:02:23 +08:00
Caten
6ff16e3559 Remove the embedded AVNC and import it as a Flutter plugin 2025-08-04 14:40:57 +08:00
Caten
cd8fea5f98 update issue template...... 2025-07-05 23:01:44 +08:00
Caten
83a544acda Update code to v1.0.24, fix hant, update hangover 2025-06-30 07:33:55 +08:00
Caten
c80be46909 Fix samsung issues 2025-06-29 10:31:48 +08:00
Caten
90be3dc9ee Merge pull request #334 from ystartgo/patch-1
Update main.dart
2025-06-21 17:13:32 +08:00
Caten
45d60d6519 Merge pull request #333 from ystartgo/patch-2
Create intl_zh_Hant.arb
2025-06-21 17:13:16 +08:00
startgo
d8b4390c03 Create intl_zh_Hant.arb
新增繁體中文 intl_zh_Hant
2025-06-21 15:13:16 +08:00
startgo
0e186e93f7 Update main.dart
新增繁體
2025-06-21 15:11:11 +08:00
Caten
b788cea689 Update workflow.dart 2025-06-12 22:20:31 +08:00
Caten
affc3173ef Fix some script and update readme 2025-06-12 20:24:52 +08:00
Caten
6b67ddaf9a Fix QQ, remove static elf, downgrade hangover, add dxvk, update dependencies, update code to 1.0.23 2025-06-12 18:15:30 +08:00
Caten
009cd4ebe2 Support English UI, remove mediamtx, update hangover, fix build process, remove build files for other platforms 2025-06-07 17:04:08 +08:00
Caten
7e685fae64 Merge pull request #310 from Karlbaey101/Karlbaey101-patch-READMEFormat0-1
修改 README.md 格式
2025-05-31 22:41:23 +08:00
Caten
91688ec4ae Merge pull request #316 from wcbing/master
Update linuxqq and dingtalk download command
2025-05-31 22:39:55 +08:00
wcbing
ba62910793 Update linuxqq and dingtalk download command 2025-05-19 01:05:30 +08:00
Karlbaey
e1f24796b2 修改 README.md 格式
在不破坏内容的前提下修改了 README.md,以使得可读性更强。
2025-05-02 20:16:41 +08:00
Caten
23b7889fcc Update README.md 2025-04-22 23:57:13 +08:00
Caten
db0689a9bd Version & edraw fix 2025-04-21 08:41:34 +08:00
Caten
9f294af413 Update code to v1.0.22
Update hangover version, freedreno version, edmax verion, signal 9 fault tutorial link.
2025-04-20 22:36:10 +08:00
Caten
304df8ca96 Add QTWEBENGINE_DISABLE_SANDBOX=1 2024-12-24 00:26:20 +08:00
Caten
c0795474cf Update README.md 2024-12-24 00:13:28 +08:00
Caten
1f596424f2 fix 2024-12-17 07:42:43 +08:00
Caten
e86fb4e3a9 Adjust readme 2024-12-17 07:37:21 +08:00
Caten
ee230f91dd Fix hangover and update 2024-12-01 16:26:16 +08:00
Caten
b5cbda42cb Update code to 1.0.20.
Fix wps
2024-12-01 00:29:31 +08:00
24 changed files with 67 additions and 56 deletions

View File

@@ -5,7 +5,7 @@
给所有安卓 9 以上 arm64 设备的“PC 应用引擎”平替。你可以在小小电脑上安装 PC 级 WPS、CAJ Viewer、亿图图示等软件。 给所有安卓 9 以上 arm64 设备的“PC 应用引擎”平替。你可以在小小电脑上安装 PC 级 WPS、CAJ Viewer、亿图图示等软件。
Run Debian Bookworm with XFCE, LXQt, or other desktop environments on Android—just with one click. Originally developed for Chinese users to run applications like WPS Office, it comes preinstalled with tools such as the Fcitx Pinyin input method. Please note that this app does not require Termux. Run Debian Trixie with XFCE, LXQt, or other desktop environments on Android—just with one click. Originally developed for Chinese users to run applications like WPS Office, it comes preinstalled with tools such as the Fcitx Pinyin input method. Please note that this app does not require Termux.
To change the language inside the container, simply run the `tmoe` command, select “Manager” and navigate to the locale settings. The root filesystem was built using [tmoe](https://github.com/2moe/tmoe), so locale configuration is handled through it. You will also need to update the `LANG=zh_CN.UTF-8` environment variable in the startup command (go to Control → Advanced Settings → Startup Command) when switching to another language. To change the language inside the container, simply run the `tmoe` command, select “Manager” and navigate to the locale settings. The root filesystem was built using [tmoe](https://github.com/2moe/tmoe), so locale configuration is handled through it. You will also need to update the `LANG=zh_CN.UTF-8` environment variable in the startup command (go to Control → Advanced Settings → Startup Command) when switching to another language.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="ic_launcher_background">#F17FA5</color> <color name="ic_launcher_background">#D1BAFD</color>
</resources> </resources>

View File

@@ -160,6 +160,8 @@ tmoe还会安装gnome-keyring由于之前我做xfce包时会造成VSCode反
#### cmatrix #### cmatrix
**20241112注意这一步可以略过因为cmatrix已被内置到patch.tar.gz**
这个是给快捷指令的彩蛋。下载cmatrix的包并将cmatrix文件提取放到/home/tiny/.local/bin里即可记得添加执行权限 这个是给快捷指令的彩蛋。下载cmatrix的包并将cmatrix文件提取放到/home/tiny/.local/bin里即可记得添加执行权限
#### WPS #### WPS
@@ -185,9 +187,10 @@ tmoe还会安装gnome-keyring由于之前我做xfce包时会造成VSCode反
- sudo apt update, sudo apt full-upgrade, sudo apt autoremove - sudo apt update, sudo apt full-upgrade, sudo apt autoremove
- 取消内存分配器的更改 - 取消内存分配器的更改
- xfce版本重新修补了libtiff.so.5库 - xfce版本重新修补了libtiff.so.5库
- 升级到GXDE 25 - 升级到GXDE 25gxdev1.1.0
- 更换内存分配器 - 更换内存分配器
- 使用AI重写的升级脚本(gxde-25-upgrade.sh),以便在不启动图形界面的情况下升级 - 使用AI重写的升级脚本(gxde-25-upgrade.sh),以便在不启动图形界面的情况下升级
- 禁用电源管理lxqtv1.1.0`mkdir -p ~/.config/autostart;cp /etc/xdg/autostart/lxqt-powermanagement.desktop ~/.config/autostart/;echo "Hidden=true" >> ~/.config/autostart/lxqt-powermanagement.desktop`
- 禁用MIT-SHM扩展v1.1.0/usr/local/bin/startvnc第372行添加set "${a}" "-extension" "MIT-SHM" - 禁用MIT-SHM扩展v1.1.0/usr/local/bin/startvnc第372行添加set "${a}" "-extension" "MIT-SHM"
- 将桌面壁纸的配置从monitorBuiltinDisplay改为monitorbuiltinxfcev1.0.99疑似Termux:X11显示器名称改变导致壁纸失效 - 将桌面壁纸的配置从monitorBuiltinDisplay改为monitorbuiltinxfcev1.0.99疑似Termux:X11显示器名称改变导致壁纸失效
- 修复用vscode打开文件时只打开了vscode本身v1.0.25):去掉/usr/share/applications/code-no-sandbox.desktop的Exec的--unity-launch - 修复用vscode打开文件时只打开了vscode本身v1.0.25):去掉/usr/share/applications/code-no-sandbox.desktop的Exec的--unity-launch
@@ -234,44 +237,43 @@ tmoe还会安装gnome-keyring由于之前我做xfce包时会造成VSCode反
5 sudo apt install gxde-testing-source 5 sudo apt install gxde-testing-source
6 sudo apt update 6 sudo apt update
7 sudo apt install gxde-desktop-android --no-install-recommends 7 sudo apt install gxde-desktop-android --no-install-recommends
8 sudo apt install spark-store gxde-terminal 8 nano /etc/locale.gen
9 nano /etc/locale.gen 9 cd /usr/local/etc/tmoe-linux/git/share
10 cd /usr/local/etc/tmoe-linux/git/share 10 nano replace.sh
11 nano replace.sh 11 ./replace.sh old-version
12 ./replace.sh old-version 12 chmod +x replace.sh
13 chmod +x replace.sh 13 ./replace.sh old-version
14 ./replace.sh old-version 14 rm replace.sh
15 rm replace.sh 15 cd
16 cd 16 tmoe
17 tmoe 17 nano /etc/apt/sources.list
18 nano /etc/apt/sources.list 18 sudo apt update
19 sudo apt update 19 nano /etc/apt/sources.list
20 nano /etc/apt/sources.list 20 sudo apt update
21 sudo apt update 21 cd /var/log
22 cd /var/log 22 ls -l
23 ls -l 23 du -h --max-depth=1 | sort -h
24 du -h --max-depth=1 | sort -h 24 cd ..
25 cd .. 25 du -h --max-depth=1 | sort -h
26 du -h --max-depth=1 | sort -h 26 cd cache/
27 cd cache/ 27 ls -l
28 ls -l 28 sudo apt update ttf-mscorefonts-installer
29 sudo apt update ttf-mscorefonts-installer 29 sudo apt install ttf-mscorefonts-installer
30 sudo apt install ttf-mscorefonts-installer 30 cd /usr/lib/aarch64-linux-gnu/
31 cd /usr/lib/aarch64-linux-gnu/ 31 ln -s libtiff.so.6 libtiff.so.5
32 ln -s libtiff.so.6 libtiff.so.5 32 history
33 history 33 cd /
34 cd / 34 cp home/tiny/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/busybox .
35 cp home/tiny/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/busybox . 35 cd /etc/X11/xinit/
36 cd /etc/X11/xinit/ 36 ls
37 ls 37 cp ~/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/etc/X11/xinit/Xsession .
38 cp ~/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/etc/X11/xinit/Xsession . 38 ls -l Xsession
39 ls -l Xsession 39 cd /
40 cd / 40 ls -l busybox
41 ls -l busybox 41 exit
42 exit 42 sudo apt clean;sudo apt autoclean;sudo apt autoremove --purge || sudo apt autoremove
43 sudo apt clean;sudo apt autoclean;sudo apt autoremove --purge || sudo apt autoremove 43 history
44 history 44 history > /sd/history.txt
45 history > /sd/history.txt
``` ```
关于Xsession文件 关于Xsession文件
@@ -282,4 +284,4 @@ rm -rf /run/dbus/pid
sudo dbus-daemon --system sudo dbus-daemon --system
export $(dbus-launch) export $(dbus-launch)
startgxde_android startgxde_android
``` ```

View File

@@ -52,7 +52,7 @@ done
echo "正在安装Hangover..." echo "正在安装Hangover..."
tar xvf hangover.tar tar xvf hangover.tar
sudo DEBIAN_FRONTEND=noninteractive apt install -y ./hangover*.deb sudo apt install -y ./hangover*.deb
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
cd /tmp cd /tmp
rm -rf /tmp/hangover rm -rf /tmp/hangover

View File

@@ -38,7 +38,7 @@ done
echo "正在安装Hangover..." echo "正在安装Hangover..."
tar xvf hangover.tar tar xvf hangover.tar
sudo DEBIAN_FRONTEND=noninteractive apt install -y ./hangover*.deb sudo apt install -y ./hangover*.deb
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
cd /tmp cd /tmp
rm -rf /tmp/hangover rm -rf /tmp/hangover

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -618,12 +618,7 @@ sed -i -E "s@^(VNC_RESOLUTION)=.*@\\1=${w}x${h}@" \$(command -v startvnc)""");
pactl load-module module-null-sink sink_name=AndroidSink sink_properties=device.description="Android_Audio_Stream" pactl load-module module-null-sink sink_name=AndroidSink sink_properties=device.description="Android_Audio_Stream"
pactl load-module module-remap-source master=AndroidSink.monitor source_name=AndroidMic source_properties=device.description="Android_Virtual_Mic" pactl load-module module-remap-source master=AndroidSink.monitor source_name=AndroidMic source_properties=device.description="Android_Virtual_Mic"
pkill -f tiny_virtual_mic pkill -f tiny_virtual_mic
tiny_virtual_mic $path AndroidSink & tiny_virtual_mic $path AndroidSink &""");
sleep 0.5
SINK_INPUT_ID=\$(LC_ALL=C pactl list sink-inputs | grep -B 20 "application.name = \\"AndroidStream\\"" | grep "Sink Input #" | awk '{print \$3}' | tr -d '#')
if [ ! -z "\$SINK_INPUT_ID" ]; then
pactl move-sink-input \$SINK_INPUT_ID AndroidSink
fi""");
G.pageIndex.value = 0; G.pageIndex.value = 0;
} }
} else { } else {

View File

@@ -146,7 +146,7 @@ class Util {
return m[key]; return m[key];
} }
switch (key) { switch (key) {
case "name" : return (value){addCurrentProp(key, value); return value;}("Debian Bookworm"); case "name" : return (value){addCurrentProp(key, value); return value;}("Debian Trixie");
case "boot" : return (value){addCurrentProp(key, value); return value;}(D.boot); case "boot" : return (value){addCurrentProp(key, value); return value;}(D.boot);
case "vnc" : return (value){addCurrentProp(key, value); return value;}("startnovnc &"); case "vnc" : return (value){addCurrentProp(key, value); return value;}("startnovnc &");
case "vncUrl" : return (value){addCurrentProp(key, value); return value;}("http://localhost:36082/vnc.html?host=localhost&port=36082&autoconnect=true&resize=remote&password=12345678"); case "vncUrl" : return (value){addCurrentProp(key, value); return value;}("http://localhost:36082/vnc.html?host=localhost&port=36082&autoconnect=true&resize=remote&password=12345678");
@@ -354,7 +354,7 @@ class D {
//默认快捷指令 //默认快捷指令
static const commands = [{"name":"检查更新并升级", "command":"sudo dpkg --configure -a && sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y"}, static const commands = [{"name":"检查更新并升级", "command":"sudo dpkg --configure -a && sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y"},
{"name":"查看系统信息", "command":"fastfetch --structure meow && fastfetch --logo none"}, {"name":"查看系统信息", "command":"neofetch -L && neofetch --off"},
{"name":"清屏", "command":"clear"}, {"name":"清屏", "command":"clear"},
{"name":"中断任务", "command":"\x03"}, {"name":"中断任务", "command":"\x03"},
{"name":"安装图形处理软件Krita", "command":"sudo apt update && sudo apt install -y krita krita-l10n"}, {"name":"安装图形处理软件Krita", "command":"sudo apt update && sudo apt install -y krita krita-l10n"},
@@ -363,8 +363,15 @@ class D {
{"name":"卸载Kdenlive", "command":"sudo apt autoremove --purge -y kdenlive"}, {"name":"卸载Kdenlive", "command":"sudo apt autoremove --purge -y kdenlive"},
{"name":"安装科学计算软件Octave", "command":"sudo apt update && sudo apt install -y octave"}, {"name":"安装科学计算软件Octave", "command":"sudo apt update && sudo apt install -y octave"},
{"name":"卸载Octave", "command":"sudo apt autoremove --purge -y octave"}, {"name":"卸载Octave", "command":"sudo apt autoremove --purge -y octave"},
{"name":"安装旧版CAJViewer", "command":"wget https://download.cnki.net/net.cnki.cajviewer_1.3.20-1_arm64.deb -O /tmp/caj.deb && sudo apt update && sudo apt install -y /tmp/caj.deb && bash /home/tiny/.local/share/tiny/caj/postinst; rm /tmp/caj.deb"}, {"name":"安装WPS", "command":r"""cat << 'EOF' | sh && sudo dpkg --configure -a && sudo apt update && sudo apt install -y /tmp/wps.deb
{"name":"卸载CAJViewer", "command":"sudo apt autoremove --purge -y net.cnki.cajviewer && bash /home/tiny/.local/share/tiny/caj/postrm"}, wget https://mirrors.sdu.edu.cn/spark-store/arm64-store/office/wps-office/wps-office_11.1.0.11720-fix3_arm64.deb -O /tmp/wps.deb
EOF
rm /tmp/wps.deb"""},
{"name":"卸载WPS", "command":"sudo apt autoremove --purge -y wps-office"},
{"name":"安装CAJViewer", "command":"wget https://download.cnki.net/cajPackage/tongxinUOS/signed_cajviewer_9.5.0-25268_arm64.deb -O /tmp/caj.deb && sudo apt update && sudo apt install -y /tmp/caj.deb; rm /tmp/caj.deb"},
{"name":"卸载CAJViewer", "command":"sudo apt autoremove --purge -y cajviewer"},
{"name":"安装亿图图示", "command":"wget https://cc-download.wondershare.cc/business/prd/edrawmax_13.1.0-1_arm64_binner.deb -O /tmp/edraw.deb && sudo apt update && sudo apt install -y /tmp/edraw.deb && bash /home/tiny/.local/share/tiny/edraw/postinst; rm /tmp/edraw.deb"},
{"name":"卸载亿图图示", "command":"sudo apt autoremove --purge -y edrawmax libldap-2.4-2"},
{"name":"安装QQ", "command":"""wget \$(curl -s https://cdn-go.cn/qq-web/im.qq.com_new/latest/rainbow/linuxConfig.js | grep -oP '"armDownloadUrl":{[^}]*"deb":"\\K[^"]+') -O /tmp/qq.deb && sudo apt update && sudo apt install -y /tmp/qq.deb && sed -i 's#Exec=/opt/QQ/qq %U#Exec=/opt/QQ/qq --no-sandbox %U#g' /usr/share/applications/qq.desktop; rm /tmp/qq.deb"""}, {"name":"安装QQ", "command":"""wget \$(curl -s https://cdn-go.cn/qq-web/im.qq.com_new/latest/rainbow/linuxConfig.js | grep -oP '"armDownloadUrl":{[^}]*"deb":"\\K[^"]+') -O /tmp/qq.deb && sudo apt update && sudo apt install -y /tmp/qq.deb && sed -i 's#Exec=/opt/QQ/qq %U#Exec=/opt/QQ/qq --no-sandbox %U#g' /usr/share/applications/qq.desktop; rm /tmp/qq.deb"""},
{"name":"卸载QQ", "command":"sudo apt autoremove --purge -y linuxqq"}, {"name":"卸载QQ", "command":"sudo apt autoremove --purge -y linuxqq"},
{"name":"安装微信", "command":"wget https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.deb -O /tmp/wechat.deb && sudo apt update && sudo apt install -y /tmp/wechat.deb && echo '安装完成。如果你使用微信只是为了传输文件那么可以考虑使用支持SAF的文件管理器质感文件直接访问小小电脑所有文件。'; rm /tmp/wechat.deb"}, {"name":"安装微信", "command":"wget https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.deb -O /tmp/wechat.deb && sudo apt update && sudo apt install -y /tmp/wechat.deb && echo '安装完成。如果你使用微信只是为了传输文件那么可以考虑使用支持SAF的文件管理器质感文件直接访问小小电脑所有文件。'; rm /tmp/wechat.deb"},
@@ -379,7 +386,7 @@ class D {
//默认快捷指令,英文版本 //默认快捷指令,英文版本
static const commands4En = [{"name":"Update Packages", "command":"sudo dpkg --configure -a && sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y"}, static const commands4En = [{"name":"Update Packages", "command":"sudo dpkg --configure -a && sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y"},
{"name":"System Info", "command":"fastfetch --structure meow && fastfetch --logo none"}, {"name":"System Info", "command":"neofetch -L && neofetch --off"},
{"name":"Clear", "command":"clear"}, {"name":"Clear", "command":"clear"},
{"name":"Interrupt", "command":"\x03"}, {"name":"Interrupt", "command":"\x03"},
{"name":"Install Painting Program Krita", "command":"sudo apt update && sudo apt install -y krita krita-l10n"}, {"name":"Install Painting Program Krita", "command":"sudo apt update && sudo apt install -y krita krita-l10n"},
@@ -388,6 +395,13 @@ class D {
{"name":"Uninstall Kdenlive", "command":"sudo apt autoremove --purge -y kdenlive"}, {"name":"Uninstall Kdenlive", "command":"sudo apt autoremove --purge -y kdenlive"},
{"name":"Install LibreOffice", "command":"sudo apt update && sudo apt install -y libreoffice"}, {"name":"Install LibreOffice", "command":"sudo apt update && sudo apt install -y libreoffice"},
{"name":"Uninstall LibreOffice", "command":"sudo apt autoremove --purge -y libreoffice"}, {"name":"Uninstall LibreOffice", "command":"sudo apt autoremove --purge -y libreoffice"},
{"name":"Install WPS", "command":r"""cat << 'EOF' | sh && sudo dpkg --configure -a && sudo apt update && sudo apt install -y /tmp/wps.deb
wget https://github.com/tiny-computer/third-party-archives/releases/download/archives/wps-office_11.1.0.11720_arm64.deb -O /tmp/wps.deb
EOF
rm /tmp/wps.deb"""},
{"name":"Uninstall WPS", "command":"sudo apt autoremove --purge -y wps-office"},
{"name":"Install EdrawMax", "command":"""wget https://cc-download.wondershare.cc/business/prd/edrawmax_13.1.0-1_arm64_binner.deb -O /tmp/edraw.deb && sudo apt update && sudo apt install -y /tmp/edraw.deb && bash /home/tiny/.local/share/tiny/edraw/postinst && sudo sed -i 's/<Language V="cn"\\/>/<Language V="en"\\/>/g' /opt/apps/edrawmax/config/settings.xml; rm /tmp/edraw.deb"""},
{"name":"Uninstall EdrawMax", "command":"sudo apt autoremove --purge -y edrawmax libldap-2.4-2"},
{"name":"Enable Recycle Bin", "command":"sudo apt update && sudo apt install -y gvfs && echo 'Restart the app to use Recycle Bin.'"}, {"name":"Enable Recycle Bin", "command":"sudo apt update && sudo apt install -y gvfs && echo 'Restart the app to use Recycle Bin.'"},
{"name":"Clean Package Cache", "command":"sudo apt clean"}, {"name":"Clean Package Cache", "command":"sudo apt clean"},
{"name":"Power Off", "command":"stopvnc\nexit\nexit"}, {"name":"Power Off", "command":"stopvnc\nexit\nexit"},
@@ -644,7 +658,7 @@ ${Localizations.localeOf(G.homePageStateContext).languageCode == 'zh' ? "" : "ec
//$DATA_DIR是数据文件夹, $CONTAINER_DIR是容器根目录 //$DATA_DIR是数据文件夹, $CONTAINER_DIR是容器根目录
//Termux:X11的启动命令并不在这里面而是写死了。这下成💩山代码了:P //Termux:X11的启动命令并不在这里面而是写死了。这下成💩山代码了:P
await G.prefs.setStringList("containersInfo", ["""{ await G.prefs.setStringList("containersInfo", ["""{
"name":"GXDE OS", "name":"Debian Trixie",
"boot":"${Localizations.localeOf(G.homePageStateContext).languageCode == 'zh' ? D.boot : D.boot.replaceFirst('LANG=zh_CN.UTF-8', 'LANG=en_US.UTF-8').replaceFirst('公共', 'Public').replaceFirst('图片', 'Pictures').replaceFirst('音乐', 'Music').replaceFirst('视频', 'Videos').replaceFirst('下载', 'Downloads').replaceFirst('文档', 'Documents').replaceFirst('照片', 'Photos')}", "boot":"${Localizations.localeOf(G.homePageStateContext).languageCode == 'zh' ? D.boot : D.boot.replaceFirst('LANG=zh_CN.UTF-8', 'LANG=en_US.UTF-8').replaceFirst('公共', 'Public').replaceFirst('图片', 'Pictures').replaceFirst('音乐', 'Music').replaceFirst('视频', 'Videos').replaceFirst('下载', 'Downloads').replaceFirst('文档', 'Documents').replaceFirst('照片', 'Photos')}",
"vnc":"startnovnc &", "vnc":"startnovnc &",
"vncUrl":"http://localhost:36082/vnc.html?host=localhost&port=36082&autoconnect=true&resize=remote&password=12345678", "vncUrl":"http://localhost:36082/vnc.html?host=localhost&port=36082&autoconnect=true&resize=remote&password=12345678",