Files
amber-pm/tips.md
2025-10-21 19:59:33 +08:00

43 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tips
1. apm run 会优先尝试独立环境内启动,失败后会在主机环境尝试启动
2. apm 添加了一个钩子debian only),在安装到 /var/lib/apm 下的应用存在ace-env时进行configure nvidia操作若存在entries,则进行链接到/usr/share/applications操作
3. apm 内置 ubuntu rootfs的修改如下
* 使用支持apm源的aptss使用独立的sources.list.d,删除原有的源
* 安装xz-utils
* 安装 bash-completion
* 安装一个空的apm包用于填充依赖附带 amber-pm-dstore-patch
* 删除/var/lib/dpkg的 status status-old available cmethopt diversions diversions-old
4. 打包 apm 包时需要注意的
* 对应的desktop的 Exec 和 Tryexec 均需要加入 `apm run 包名` 前缀(未完成自动化)
* 完成释放后应删除tar.xz(未完成)
5. apm todo未完成
* 重要如何在APM内更新内容——如何覆盖
* deb全自动转apm
* apm版融合商店
* 类似 Wine 运行器的方式全图形化傻瓜式打包
* 自动融合 APM 应用到系统主机,并实现右键卸载
---
已完成
* apm 自动刷新 apm 仓库
* 完善 amber-pm-common 以快速创建rootfs(生成所有 locales )
* 添加 gxde fixer 确保在GXDE下可以正常展示应用即进行一次host integration类操作)
* 完成amd64软件源配置
* 修改aptss以兼容APM源加速
* apm环境变量添加 IS_APM_ENV=1 GTK_USE_PORTAL=1