fix: 修复了一些已知问题;

Description:

Log:
This commit is contained in:
mikigo 2023-12-13 10:39:14 +08:00
parent 9f8a11588b
commit 37e2b3e7e0
3 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,7 @@
- 修改 `public` 目录权限为 `umask 022`,以解决远程开发时无法同步文件的问题;
- 修复 `Wayland` 下系统监视器使用 `WaylandWindowINfo.window_info()`,获取的窗口名称为空;
- 解除 `env.sh` 中某个 `deb` 包安装失败后替换源 `retry` 机制,因为用固定的源替换之后,容易出现某些包安装失败,而不容易关注到首次包安装失败的问题,给定位环境安装失败带来困难;
- 修复 `env.sh` 里面报错 `ERROR: unknown command "cache" - maybe you meant "check"`
## 2.3.52023/12/04

View File

@ -105,8 +105,8 @@ system_env(){
}
init_pip(){
sudo pip3 install -U pip > /tmp/env.log 2>&1
sudo pip3 cache purge > /tmp/env.log 2>&1
sudo pip3 config set global.timeout 10000 > /tmp/env.log 2>&1
sudo pip3 config set global.index-url ${pypi_mirror} > /tmp/env.log 2>&1
sudo pip3 install -U pip > /tmp/env.log 2>&1
}

View File

@ -16,7 +16,7 @@ bash env.sh
如果应用库还需要其他 `Python` 依赖库,只需要在应用库根目录下保存一个 `requirement.txt` 文件;
```shell
```shell hl_lines="2"
autotest_xxx
├── requirement.txt
├── case
@ -42,7 +42,7 @@ requests # 未指定版本则安装最新版
你只需要在应用库根目录下,存放一个 `BASICENV` 的普通文件,里面不需要写任何内容,这样执行 `env.sh` 时,只会安装最基础的依赖。
```shell
```shell hl_lines="2"
autotest_xxx
├── BASICENV # 可以使用touch BASICENV 创建文件
├── case