回复:安装、自动运行、v0.1.6
首次公开证据
打开首次公开证据查看 1 个交叉存档
来源说明
Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial
是的,我放回了你那个启动文件夹快捷方式的代码,在 XP 和 Vista 上对我来说也能正常启动。为保险起见,我把快捷方式设置改成了和我手动创建的快捷方式完全一样。我把工作目录设为 EXE 所在的位置,因为 debug.log 就在那里创建,否则 Windows 会把它放到某个奇怪的目录里。我还没有改安装脚本。
我已经把以下内容全部提交到 SVN(谢谢你设置好它):
- 多处理器生成新币
- 每次发生变化后刷新 wallet.dat,这样数据库就不会把那些内容留在事务日志中
- 查看菜单中的复选框,用来隐藏所有生成的新币,这样你就只能看到自己的支付交易
- 禁用交易费选项
- 把最小化到托盘的选项做得类似 Firefox 的 MinimizeToTray
- 自 0.1.5 发布以来的其他一堆零碎修改
我让它不显示未被接受的生成新币。生成的新币在至少有一次确认(其后链接了一个区块)之前不会显示,所以通常它们永远不会被看到。偶尔,一个已经显示的生成新币可能会因为后来变得不被接受而消失。如果我们不在 UI 中指出,我认为不会有人注意到偶尔出现的未接受生成新币。有人告诉我,他们觉得不得不看着这些内容很烦,因为它们会永久显示在交易记录中。
我还要继续测试。看来现在得测试 Windows 7 了。
比特币有可能运行后因为出了问题而退出了。如果是这样,debug.log 应该能说明些情况。你用的是什么操作系统?我在想,我们是不是需要管理员权限却没有意识到。需要管理员权限的东西在 Vista 上无法随系统启动。
我用的是 XP。我重新编译了较旧的修订版,这次启动快捷方式能正常工作。在 Vista(非管理员)上测试时也能工作。也许只是我上次漏掉了什么。
程序快捷方式有多个设置选项卡,里面有很多细小的设置。我会尝试启动文件夹代码,看看能不能复现问题。我电脑上的其他每个系统托盘图标都在启动文件夹里,这让用户可以在一个地方管理所有自动运行项目。注册表键中的东西往往是狡猾的隐藏臃肿软件。
这里正好相反,我把所有启动程序都放在注册表里。不过,如果快捷方式方法同样有效,也许对用户更友好。
英文原文
展开英文原文
Yeah, I put back your startup folder shortcut code and it started fine for me too on XP and Vista. For good measure, I changed it to make the shortcut settings look identical to one I manually created. I set the working directory to where the EXE is since that's where debug.log is created, otherwise windows puts it in some weird directory. I didn't change the setup script yet.
I checked everything in to SVN (thanks for setting that up)
- multi-proc generate
- flush wallet.dat after every change so the DB doesn't leave that stuff in the transaction logs
- view menu checkbox to hide all generated coins so you can see just your payment transactions
- disabled transaction fee option
- made the minimize to tray options similar to Firefox's MinimizeToTray
- bunch of other misc changes since the 0.1.5 release
I made it not show non-accepted generated coins. It won't show generated coins until they have at least one confirmation (one block linked after it), so usually they'll just never be seen. Occasionally a generated coin that was displayed might disappear because it became not accepted later. I don't think anyone would notice the occasional non-accepteds if we didn't point them out in the UI. People have told me they find it annoying to have to look at them, as they're permanently displayed in the transaction record.
I still have more testing to do. I guess we gotta test Windows 7 now.
It's possible Bitcoin ran and bailed out because something was wrong. debug.log should tell something if that was the case. What OS are you using? I wonder if we need Admin privilege and don't realize it. Stuff that requires Admin can't start on startup on Vista.
I'm using XP. I recompiled the older revision and this time the startup shortcut works. It also works when testing on Vista (non-admin). Maybe I just missed something the previous time.
Program shortcuts have multiple tabs of settings with lots of little details. I'll try the startup folder code and see if I can reproduce the problem. Every other systray icon on my computer is in the startup folder, and it makes it easy for users to manage all their autoruns in one place. The things in the registry key tend to be devious hidden bloatware.
Here it's the other way around, I have all my startup programs in the registry. But maybe the shortcut method is nicer for the user, if it works just as well