SN-10074 附来源、原文与上下文。
是的,我把你创建启动文件夹快捷方式的代码放了回去,在 XP 和 Vista 上也都能正常启动。为稳妥起见,我改成让快捷方式设置看起来与我手动创建的完全一致。我把工作目录设为 EXE 所在位置,因为 debug.log 会在那里创建,否则 Windows 会把它放到某个奇怪目录。我还没有修改安装脚本。
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.
我把所有内容都提交到了 SVN(谢谢你把它配置好)
I checked everything in to SVN (thanks for setting that up)
我让程序不再显示未接受的生成币。生成的币至少有一个确认(后面接上一个区块)才会显示,所以通常根本不会看到未接受的币。偶尔,已经显示的生成币可能会消失,因为后来变成了未接受。我想,如果我们不在界面上特意指出,人们不会注意到偶尔发生的未接受。有人告诉我,这些条目永久显示在交易记录中,看着很烦。
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.
我还有更多测试要做。我想,现在我们还得测试 Windows 7 了。
I still have more testing to do. I guess we gotta test Windows 7 now.
引用 Martti Malmi 的文字Martti Malmi来源 ↗引用中本聪此前的文字中本聪来源 ↗可能是 Bitcoin 运行后,因为出了问题而退出了。如果是这样,debug.log 应该能提供一些线索。你用的是什么操作系统?我在想,是不是需要管理员权限,而我们没有意识到。在 Vista 上,需要管理员权限的程序无法在系统启动时自动运行。
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.
我用的是 XP。我重新编译了旧版本,这次启动快捷方式能用了。在 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