Skip to content

回复:安装、自动运行、v0.1.6 ​

首次公开证据

打开首次公开证据
查看 1 个交叉存档
来源说明

Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial

我收到了,我看到你在改用注册表之前提交了启动文件夹代码。我没有看到代码中任何明显的问题。我猜这取决于它默认不总能工作的具体问题是什么。是 Vista/UAC 安全问题吗?

启动文件夹中的快捷方式有什么问题?如果你能把代码发给我,我想再看一遍,看看能不能发现问题。注册表代码中的第一个 strcat 应该是 strcpy,否则会间歇性失败。如果快捷方式版本中也是相同代码,也许问题就在那里。

我为最新版本的比特币制作了一个 Windows 安装程序,其中包括自动启动和最小化到托盘功能。安装程序会创建开始菜单快捷方式和启动注册表项。我起初用启动文件夹快捷方式实现自动启动,但发现它默认并不总是有效,最后改用注册表项。卸载程序会移除注册表项,也可以从选项菜单中禁用它,所以我觉得它毕竟不算对用户有多大威胁。

英文原文 ​

展开英文原文

I got it, I see you checked in the startup folder code before changing it to registry. I don't see any visible problems in the code. I guess it depends what exactly the problem was with it not always working by default. Was there a Vista/UAC security problem?

What was the problem with the shortcut in the startup folder? If you could send me the code, I'd like to take another look and see if I can see what the problem was. The first strcat in the registry code should be strcpy, otherwise it would fail intermittently. If the same code was in the shortcut one, maybe that was the problem.

I made a Windows installer for the latest version of Bitcoin, which includes the autostart and minimize to tray features. The installer makes a start menu shortcut and a startup registry entry. I first implemented the autostart with a shortcut to the startup folder, but I found out that it doesn't always work by default and ended up doing it with a registry entry. The registry entry is removed by the uninstaller and can be also disabled from the options menu, so I don't think it's such a big menace to the user after all.

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。