AppImage / AppImage/AppImageKit

Silence verbose output when VERBOSE environment variable is not set

未关闭
#1,233 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
PR 指标待抓取

描述

Hello,

I sometimes run appimages in docker containers, which do not allow mounting of filesystems by default, so I run them with

`APPIMAGE_EXTRACT_AND_RUN=1 NO_CLEANUP=1 `

After the first execution, subsequent runs produce many lines of "File exists and file size matches, skipping". It would be nice if we could silence these informational messages (redirecting `stderr `to `/dev/null` is not ideal as this also redirects error messages from the bundled app).

This string is output [here](https://github.com/AppImage/AppImageKit/blob/master/src/runtime.c#L364), and the function this lives in already has access to a verbosity flag [here](https://github.com/AppImage/AppImageKit/blob/master/src/runtime.c#L277); so it looks reasonably straightforward to implement it. Would this be possible?

Thanks for your work on this!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。