mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
Fix links, update packages, update hangover, update readme, update avnc...... update code to v1.1.0
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
"dri3Requirement": "DRI3 requires Termux:X11 and Turnip",
|
||||
"windowsAppSupport": "Windows App Support",
|
||||
"hangoverDescription": "Run Windows apps using Hangover (running cross-arch apps on native Wine)!\n\nRunning Windows programs requires two layers of emulation (arch + system) - don't expect good performance!\n\nFor better speed, try enabling Graphics Acceleration. Crashes or failures are normal.\n\nRecommend moving Windows programs to desktop before running.\n\nBe patient. Even if GUI shows nothing. Check terminal - is it still running or stopped with error?\n\nOr check if the Windows app has official Linux arm64 version.",
|
||||
"installHangoverStable": "Install Hangover Stable",
|
||||
"installHangoverStable": "Install Hangover",
|
||||
"installHangoverLatest": "Install Hangover Latest (may fail)",
|
||||
"uninstallHangover": "Uninstall Hangover",
|
||||
"clearWineData": "Clear Wine Data",
|
||||
@@ -79,7 +79,7 @@
|
||||
"userManual": "User Manual",
|
||||
"openSourceLicenses": "Open Source Licenses",
|
||||
"permissionUsage": "Permission Usage",
|
||||
"privacyStatement": "\nThis app does not collect your private information.\n\nHowever, I cannot control behaviors of apps you install/use inside the container system (including via shortcut commands).\n\nRequested permissions are used for:\nFile permissions: accessing phone directories\nNotifications & accessibility: Required by Termux:X11",
|
||||
"privacyStatement": "\nThis app does not collect your private information.\n\nHowever, I cannot control behaviors of apps you install/use inside the container system (including via shortcut commands).\n\nRequested permissions are used for:\nFile permissions: accessing phone directories\nNotifications & accessibility: Required by Termux:X11\nMicrophone permission: for using the microphone",
|
||||
"supportAuthor": "Support Developers",
|
||||
"recommendApp": "If you find it useful, please recommend to others!",
|
||||
"projectUrl": "Project URL",
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"dri3Requirement": "DRI3必须配合Termux:X11和Turnip使用",
|
||||
"windowsAppSupport": "Windows应用支持",
|
||||
"hangoverDescription": "使用Hangover(在原生Wine运行跨架构应用)运行Windows应用!\n\n运行Windows程序需要经过架构和系统两层模拟,不要对运行速度抱有期待!\n\n需要速度可以尝试配合图形加速使用。当然程序崩溃甚至打不开也是正常的。\n\n建议将要运行的Windows程序连同程序文件夹移至桌面运行。\n\n你需要耐心。即使图形界面什么也没显示。看看终端,还在继续输出吗?还是停止在某个报错?\n\n或者寻找该Windows软件官方是否提供Linux arm64版本。",
|
||||
"installHangoverStable": "安装Hangover稳定版",
|
||||
"installHangoverStable": "安装Hangover",
|
||||
"installHangoverLatest": "安装Hangover最新版(可能出错)",
|
||||
"uninstallHangover": "卸载Hangover",
|
||||
"clearWineData": "清空Wine数据",
|
||||
@@ -79,7 +79,7 @@
|
||||
"userManual": "使用说明",
|
||||
"openSourceLicenses": "开源许可",
|
||||
"permissionUsage": "权限使用说明",
|
||||
"privacyStatement": "\n本软件不会收集你的隐私信息。\n\n当然,你在容器系统内部安装或使用的软件行为(包括通过快捷指令)就不受我控制了,我不对其负责。\n\n本软件申请的权限用于以下目的:\n文件相关权限:用于系统访问手机目录;\n通知和无障碍:Termux:X11需要。",
|
||||
"privacyStatement": "\n本软件不会收集你的隐私信息。\n\n当然,你在容器系统内部安装或使用的软件行为(包括通过快捷指令)就不受我控制了,我不对其负责。\n\n本软件申请的权限用于以下目的:\n文件相关权限:用于系统访问手机目录;\n通知和无障碍:Termux:X11需要。\n麦克风权限:用于使用麦克风",
|
||||
"supportAuthor": "支持作者",
|
||||
"recommendApp": "如果认为好用的话,可以推荐给其他人用噢!",
|
||||
"projectUrl": "项目地址",
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"dri3Requirement": "DRI3 必須配合 Termux:X11 與 Turnip 使用",
|
||||
"windowsAppSupport": "Windows 應用支援",
|
||||
"hangoverDescription": "使用 Hangover(於原生 Wine 執行跨架構應用)來執行 Windows 應用!\n\n執行 Windows 程式需經過架構與系統雙層模擬,請勿對速度抱太大期望。",
|
||||
"installHangoverStable": "安裝 Hangover 穩定版",
|
||||
"installHangoverStable": "安裝 Hangover",
|
||||
"installHangoverLatest": "安裝 Hangover 最新版(可能有錯誤)",
|
||||
"uninstallHangover": "解除安裝 Hangover",
|
||||
"clearWineData": "清除 Wine 資料",
|
||||
@@ -79,7 +79,7 @@
|
||||
"userManual": "使用說明",
|
||||
"openSourceLicenses": "開源授權",
|
||||
"permissionUsage": "權限使用說明",
|
||||
"privacyStatement": "\n本軟體不會收集你的隱私資訊。\n\n當然,你在容器系統內安裝或使用的軟體行為(包括快捷指令)不在本軟體控制範圍。",
|
||||
"privacyStatement": "\n本軟體不會收集你的隱私資訊。\n\n當然,你在容器系統內安裝或使用的軟體行為(包括快捷指令)不在本軟體控制範圍。\n\n本軟體申請的權限用於以下目的:\n檔案相關權限:用於系統存取手機目錄;\n通知和無障礙:Termux:X11 需要。\n麥克風權限:用於使用麥克風。",
|
||||
"supportAuthor": "支持作者",
|
||||
"recommendApp": "如果覺得好用,可以推薦給其他人哦!",
|
||||
"projectUrl": "專案網址",
|
||||
|
||||
@@ -553,7 +553,7 @@ sed -i -E "s@^(VNC_RESOLUTION)=.*@\\1=${w}x${h}@" \$(command -v startvnc)""");
|
||||
Text(AppLocalizations.of(context)!.hangoverDescription),
|
||||
const SizedBox.square(dimension: 8),
|
||||
Wrap(alignment: WrapAlignment.center, spacing: 4.0, runSpacing: 4.0, children: [
|
||||
OutlinedButton(style: D.commandButtonStyle, child: Text("${AppLocalizations.of(context)!.installHangoverStable}(10.14)"), onPressed: () async {
|
||||
OutlinedButton(style: D.commandButtonStyle, child: Text("${AppLocalizations.of(context)!.installHangoverStable}(11.0)"), onPressed: () async {
|
||||
Util.termWrite("bash ~/.local/share/tiny/extra/install-hangover-stable");
|
||||
G.pageIndex.value = 0;
|
||||
}),
|
||||
|
||||
@@ -368,8 +368,8 @@ class D {
|
||||
{"name":"卸载Octave", "command":"sudo apt autoremove --purge -y octave"},
|
||||
{"name":"安装WPS", "command":r"""sudo dpkg --configure -a && sudo aptss update && sudo aptss install -y wps-office"""},
|
||||
{"name":"卸载WPS", "command":"sudo apt autoremove --purge -y wps-office"},
|
||||
{"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":"卸载CAJViewer", "command":"sudo apt autoremove --purge -y net.cnki.cajviewer && bash /home/tiny/.local/share/tiny/caj/postrm"},
|
||||
{"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 libidn12 && 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://im.qq.com/rainbow/linuxQQDownload | 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"""},
|
||||
@@ -581,7 +581,12 @@ ln -sf ../applib/libexec_tar.so \$DATA_DIR/bin/tar
|
||||
ln -sf ../applib/libexec_virgl_test_server.so \$DATA_DIR/bin/virgl_test_server
|
||||
ln -sf ../applib/libexec_getifaddrs_bridge_server.so \$DATA_DIR/bin/getifaddrs_bridge_server
|
||||
ln -sf ../applib/libexec_pulseaudio.so \$DATA_DIR/bin/pulseaudio
|
||||
ln -sf ../applib/libacl.so \$DATA_DIR/lib/libacl.so
|
||||
ln -sf ../applib/libandroid-selinux.so \$DATA_DIR/lib/libandroid-selinux.so
|
||||
ln -sf ../applib/libattr.so \$DATA_DIR/lib/libattr.so
|
||||
ln -sf ../applib/libbusybox.so \$DATA_DIR/lib/libbusybox.so.1.37.0
|
||||
ln -sf ../applib/libiconv.so \$DATA_DIR/lib/libiconv.so
|
||||
ln -sf ../applib/libpcre2-8.so \$DATA_DIR/lib/libpcre2-8.so
|
||||
ln -sf ../applib/libtalloc.so \$DATA_DIR/lib/libtalloc.so.2
|
||||
ln -sf ../applib/libvirglrenderer.so \$DATA_DIR/lib/libvirglrenderer.so
|
||||
ln -sf ../applib/libepoxy.so \$DATA_DIR/lib/libepoxy.so
|
||||
@@ -835,7 +840,7 @@ clear""");
|
||||
}
|
||||
|
||||
static Future<void> launchXServer() async {
|
||||
await X11Flutter.launchXServer("${G.dataPath}/containers/${G.currentContainer}/tmp", "${G.dataPath}/containers/${G.currentContainer}/usr/share/X11/xkb", [":4"]);
|
||||
await X11Flutter.launchXServer("${G.dataPath}/containers/${G.currentContainer}/tmp", "${G.dataPath}/containers/${G.currentContainer}/usr/share/X11/xkb", [":4", "-extension", "MIT-SHM"]);
|
||||
}
|
||||
|
||||
static Future<void> launchX11() async {
|
||||
|
||||
Reference in New Issue
Block a user