gpt4 book ai didi

chocolatey - 有没有办法从卸载程序文件中禁用自动卸载程序?

转载 作者:行者123 更新时间:2023-12-01 00:24:48 24 4
gpt4 key购买 nike

我有一个 jar 文件,我将其解压缩到一个目录中,以便在卸载过程中安装和删除目录中的内容,但是 autouninstaller 抛出“无法卸载不存在的包”。
有没有办法从卸载程序文件中禁用自动卸载程序?

最佳答案

来自 Gary Ewan Park @gep13 的回答|在 Chocolatey Gitter channel 。

This is possible as of 0.10.8 of chocolatey https://github.com/chocolatey/choco/issues/1257



基本上在工具目录下添加 .skipAutoUninstall 将禁用 0.10.8 版本的 Chocolatey(在撰写本文时尚未发布)中的自动卸载功能。

关于chocolatey - 有没有办法从卸载程序文件中禁用自动卸载程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45871385/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com