且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在已部署的应用程序上运行时更改任务栏图标

更新时间:2023-11-19 21:46:46

需要考虑的两个步骤:

  1. 您需要注意您的软件是否也安装在控制面板中.如果是,请尝试从那里卸载它,但将软件的运行时文件夹保存在某个地方以供测试.

  1. You need to pay attention if your software is also installed in Control Panel. If it does, then try to uninstall it from there but keep your runtime folder of your software somewhere to keep them for a test.

从 %AppData% 中删除您的软件数据文件并尝试再次运行软件而不安装它(您复制运行时文件夹的位置),您应该能够看到任务栏如何刷新它.

Delete from %AppData% your software data files and try to run software again without installing it (Where you copied your runtime folder) and you should be able to see how Taskbar is refreshing it.

您需要弄清楚的一件事是,为什么在控制面板中安装软件会出现这样的故障,以至于它不会刷新任务栏中的图标.

One thing you need to sort out is why having software installed in Control panel makes such glitch that it doesn't refresh your icon in taskbar.