Compare commits
76 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d777234531 | ||
|
|
7f7b8700e9 | ||
|
|
8a55f1a898 | ||
|
|
8617dba406 | ||
|
|
8e07f57998 | ||
|
|
68ca11e7ed | ||
|
|
77b7973a9a | ||
|
|
8a5ce94abf | ||
|
|
ca398017e4 | ||
|
|
9f66f9e513 | ||
|
|
459154fdd4 | ||
|
|
464dd5afe7 | ||
|
|
551ccf18f1 | ||
|
|
364f842d08 | ||
|
|
bc77996904 | ||
|
|
f33c215327 | ||
|
|
7f59106252 | ||
|
|
34b2379a28 | ||
|
|
e523a044bb | ||
|
|
bd546e7da7 | ||
|
|
3009d059b3 | ||
|
|
5ebaab4126 | ||
|
|
4443b6e3f6 | ||
|
|
c4c875c6ef | ||
|
|
67dd396877 | ||
|
|
955801810c | ||
|
|
cc26e2d74d | ||
|
|
f3c0335973 | ||
|
|
8a9323a915 | ||
|
|
638e8e7007 | ||
|
|
04163ac987 | ||
|
|
64d3831c83 | ||
|
|
e19a3a55e9 | ||
|
|
6454a6b69f | ||
|
|
63a3bbd3dc | ||
|
|
ecb2880a8c | ||
|
|
5ae88252e7 | ||
|
|
c7dd1010e1 | ||
|
|
edae591755 | ||
|
|
1642affb30 | ||
|
|
b6af099255 | ||
|
|
c5feebec17 | ||
|
|
e07ba8a8ae | ||
|
|
517565e636 | ||
|
|
6c7d0a0421 | ||
|
|
725e13ebea | ||
|
|
7a6db4e4cf | ||
|
|
eeaccc3371 | ||
|
|
44eefd161c | ||
|
|
2f7c28019e | ||
|
|
2eff9392bf | ||
|
|
6f5109e74b | ||
|
|
dd0d938c36 | ||
|
|
79b1574677 | ||
|
|
091313f6d3 | ||
|
|
338a41ca1e | ||
|
|
62f1294f81 | ||
|
|
f20bcfb91b | ||
|
|
12997c8fd6 | ||
|
|
0a1d61ed46 | ||
|
|
9d0e48bb3e | ||
|
|
667eaa0706 | ||
|
|
018352b152 | ||
|
|
07224a73f6 | ||
|
|
91a2d94a9b | ||
|
|
bdd0888585 | ||
|
|
1408bd063e | ||
|
|
54b3d11431 | ||
|
|
b879d57f53 | ||
|
|
de73e1e586 | ||
|
|
bd5f742b31 | ||
|
|
e80e4a74c0 | ||
|
|
3c16f11c6d | ||
|
|
69dd1e6459 | ||
|
|
b067a90a17 | ||
|
|
2bb170a4e3 |
@@ -5,7 +5,7 @@
|
|||||||
给所有安卓 9 以上 arm64 设备的“PC 应用引擎”平替。你可以在小小电脑上安装 PC 级 WPS、CAJ Viewer、亿图图示等软件。
|
给所有安卓 9 以上 arm64 设备的“PC 应用引擎”平替。你可以在小小电脑上安装 PC 级 WPS、CAJ Viewer、亿图图示等软件。
|
||||||
|
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 15 KiB |
@@ -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">#D1BAFD</color>
|
<color name="ic_launcher_background">#F17FA5</color>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -160,8 +160,6 @@ 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
|
||||||
@@ -187,10 +185,9 @@ 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,v1.1.0):
|
- 升级到GXDE 25:
|
||||||
- 更换内存分配器
|
- 更换内存分配器
|
||||||
- 使用AI重写的升级脚本(gxde-25-upgrade.sh),以便在不启动图形界面的情况下升级
|
- 使用AI重写的升级脚本(gxde-25-upgrade.sh),以便在不启动图形界面的情况下升级
|
||||||
- 禁用电源管理(lxqt,v1.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改为monitorbuiltin(xfce,v1.0.99),疑似Termux:X11显示器名称改变导致壁纸失效
|
- 将桌面壁纸的配置从monitorBuiltinDisplay改为monitorbuiltin(xfce,v1.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
|
||||||
@@ -237,43 +234,44 @@ 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 nano /etc/locale.gen
|
8 sudo apt install spark-store gxde-terminal
|
||||||
9 cd /usr/local/etc/tmoe-linux/git/share
|
9 nano /etc/locale.gen
|
||||||
10 nano replace.sh
|
10 cd /usr/local/etc/tmoe-linux/git/share
|
||||||
11 ./replace.sh old-version
|
11 nano replace.sh
|
||||||
12 chmod +x replace.sh
|
12 ./replace.sh old-version
|
||||||
13 ./replace.sh old-version
|
13 chmod +x replace.sh
|
||||||
14 rm replace.sh
|
14 ./replace.sh old-version
|
||||||
15 cd
|
15 rm replace.sh
|
||||||
16 tmoe
|
16 cd
|
||||||
17 nano /etc/apt/sources.list
|
17 tmoe
|
||||||
18 sudo apt update
|
18 nano /etc/apt/sources.list
|
||||||
19 nano /etc/apt/sources.list
|
19 sudo apt update
|
||||||
20 sudo apt update
|
20 nano /etc/apt/sources.list
|
||||||
21 cd /var/log
|
21 sudo apt update
|
||||||
22 ls -l
|
22 cd /var/log
|
||||||
23 du -h --max-depth=1 | sort -h
|
23 ls -l
|
||||||
24 cd ..
|
24 du -h --max-depth=1 | sort -h
|
||||||
25 du -h --max-depth=1 | sort -h
|
25 cd ..
|
||||||
26 cd cache/
|
26 du -h --max-depth=1 | sort -h
|
||||||
27 ls -l
|
27 cd cache/
|
||||||
28 sudo apt update ttf-mscorefonts-installer
|
28 ls -l
|
||||||
29 sudo apt install ttf-mscorefonts-installer
|
29 sudo apt update ttf-mscorefonts-installer
|
||||||
30 cd /usr/lib/aarch64-linux-gnu/
|
30 sudo apt install ttf-mscorefonts-installer
|
||||||
31 ln -s libtiff.so.6 libtiff.so.5
|
31 cd /usr/lib/aarch64-linux-gnu/
|
||||||
32 history
|
32 ln -s libtiff.so.6 libtiff.so.5
|
||||||
33 cd /
|
33 history
|
||||||
34 cp home/tiny/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/busybox .
|
34 cd /
|
||||||
35 cd /etc/X11/xinit/
|
35 cp home/tiny/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/busybox .
|
||||||
36 ls
|
36 cd /etc/X11/xinit/
|
||||||
37 cp ~/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/etc/X11/xinit/Xsession .
|
37 ls
|
||||||
38 ls -l Xsession
|
38 cp ~/termux/home/.local/share/tmoe-linux/containers/proot/debian-bookworm_arm64/etc/X11/xinit/Xsession .
|
||||||
39 cd /
|
39 ls -l Xsession
|
||||||
40 ls -l busybox
|
40 cd /
|
||||||
41 exit
|
41 ls -l busybox
|
||||||
42 sudo apt clean;sudo apt autoclean;sudo apt autoremove --purge || sudo apt autoremove
|
42 exit
|
||||||
43 history
|
43 sudo apt clean;sudo apt autoclean;sudo apt autoremove --purge || sudo apt autoremove
|
||||||
44 history > /sd/history.txt
|
44 history
|
||||||
|
45 history > /sd/history.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
关于Xsession文件:
|
关于Xsession文件:
|
||||||
@@ -284,4 +282,4 @@ rm -rf /run/dbus/pid
|
|||||||
sudo dbus-daemon --system
|
sudo dbus-daemon --system
|
||||||
export $(dbus-launch)
|
export $(dbus-launch)
|
||||||
startgxde_android
|
startgxde_android
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ done
|
|||||||
|
|
||||||
echo "正在安装Hangover..."
|
echo "正在安装Hangover..."
|
||||||
tar xvf hangover.tar
|
tar xvf hangover.tar
|
||||||
sudo apt install -y ./hangover*.deb
|
sudo DEBIAN_FRONTEND=noninteractive 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
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ done
|
|||||||
|
|
||||||
echo "正在安装Hangover..."
|
echo "正在安装Hangover..."
|
||||||
tar xvf hangover.tar
|
tar xvf hangover.tar
|
||||||
sudo apt install -y ./hangover*.deb
|
sudo DEBIAN_FRONTEND=noninteractive 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
|
||||||
|
|||||||
BIN
images/icon.png
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 86 KiB |
@@ -618,7 +618,12 @@ 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 {
|
||||||
|
|||||||
@@ -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 Trixie");
|
case "name" : return (value){addCurrentProp(key, value); return value;}("Debian Bookworm");
|
||||||
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":"neofetch -L && neofetch --off"},
|
{"name":"查看系统信息", "command":"fastfetch --structure meow && fastfetch --logo none"},
|
||||||
{"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,15 +363,8 @@ 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":"安装WPS", "command":r"""cat << 'EOF' | sh && sudo dpkg --configure -a && sudo apt update && sudo apt install -y /tmp/wps.deb
|
{"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"},
|
||||||
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
|
{"name":"卸载CAJViewer", "command":"sudo apt autoremove --purge -y net.cnki.cajviewer && bash /home/tiny/.local/share/tiny/caj/postrm"},
|
||||||
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"},
|
||||||
@@ -386,7 +379,7 @@ rm /tmp/wps.deb"""},
|
|||||||
|
|
||||||
//默认快捷指令,英文版本
|
//默认快捷指令,英文版本
|
||||||
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":"neofetch -L && neofetch --off"},
|
{"name":"System Info", "command":"fastfetch --structure meow && fastfetch --logo none"},
|
||||||
{"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"},
|
||||||
@@ -395,13 +388,6 @@ rm /tmp/wps.deb"""},
|
|||||||
{"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"},
|
||||||
@@ -658,7 +644,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":"Debian Trixie",
|
"name":"GXDE OS",
|
||||||
"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",
|
||||||
|
|||||||