如何使用命令行手动注册上下文菜单

时间:2018-12-10 14:53:37

标签: tortoisegit

有什么方法可以在命令行中手动注册所有默认上下文菜单吗?

类似TortoseGitProc.exe /command:register-default-context

1 个答案:

答案 0 :(得分:0)

没有cli开关可以注册上下文菜单,因为这是安装程序的任务(因为没有便携式版本的TortoiseGit(参见https://tortoisegit.org/issue/726))。

请注意,没有安装程序的您不会显示任何图标。

但是,如果您确实愿意,可以查看安装程序的源代码以构建自己的.reg文件(参见https://gitlab.com/tortoisegit/tortoisegit/blob/2258883b76f516432dc110f8659f92d0d68c1796/src/TortoiseGitSetup/StructureFragment.wxi#L43)。

相关问题