weixin_39716877
weixin_39716877
2020-12-27 07:43

Please provide more informaiton about what the installer is doing

Would it be easy to change the installer to tell me what files it is installing and to what locations please? This would be very useful for debugging why things don't work.

该提问来源于开源项目:mi-g/vdhcoapp

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

6条回答

  • weixin_39637179 weixin_39637179 4月前

    I assume you are talking about Windows. The installation is very standard and installs the coapp in the Program Files folder plus a few things in the registry for the browsers to find the coapp. Most users won't care much about this and could be confused by those details. For those who care like yourself, you can check the ISS file that is used to create the installer: https://github.com/mi-g/vdhcoapp/blob/master/assets/app.iss.ejs

    点赞 评论 复制链接分享
  • weixin_39716877 weixin_39716877 4月前

    I'm talking about linux.

    I wouldn't care much about this if the tool just worked out of the box. Unfortunately it doesn't - it took me 2-3 hours of hackery to get it right (see the other issues I opened). Any help with that is always appreciated.

    点赞 评论 复制链接分享
  • weixin_39637179 weixin_39637179 4月前

    On Linux this is even simpler: you can run dpkg -X net.downloadhelper.coapp.XXX.deb or tar tvf net.downloadhelper.coapp.XXX.tar.gz to see the content of the packages.

    点赞 评论 复制链接分享
  • weixin_39716877 weixin_39716877 4月前

    I'm confused. I'm talking about this command: /usr/local/net.downloadhelper.coapp-1.6.0/bin/net.downloadhelper.coapp-linux-64 install What does it do?

    点赞 评论 复制链接分享
  • weixin_39637179 weixin_39637179 4月前

    It creates manifest files at various locations for the browsers (currently Firefox, Chrome and Edge) to find the companion app. The documentation about those manifest files can be found at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests

    点赞 评论 复制链接分享
  • weixin_39716877 weixin_39716877 4月前

    Well, I guess my request is that it should print the files that it is creating. It could do it with a -verbose flag so people who don't want to see it don't get confused.

    点赞 评论 复制链接分享

相关推荐