dongzhang8475 2017-05-15 23:57
浏览 133
已采纳

PHP桌面如何更改主窗口图标

I am starting to use PHP desktop to create a desktop application and it works great, just want to know if there's any settings to change the main windows icon, i know to change the pop-up windows icon can be change on settings.json, but i cannot find any settings to change the main windows.

enter image description here

Note: im using Inno Compiler to distribute my application, but the compiler only change the set-up icon not the main application.

  • 写回答

1条回答 默认 最新

  • doumianfeng6979 2017-07-07 20:08
    关注

    I had the same problem, the solution is provided by the creator -

    If you would like to change the icon that is embedded in the executable file then do the following steps:

    Download Resource Hacker and run it. From the "File" menu select open, navigate and choose "phpdesktop-msie.exe" (or "phpdesktop-chrome.exe").

    On the left side there should be a tree control, expand "/Icon Group/128/1033", right click on the "1033", select "Replace Resource..." and replace that resource with your icon.

    That's it, save it and see the changes by running the executable file. When you change icon embedded in the executable file you do not need to set it anymore in the settings file.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分