Best Way For Update Application

前端 未结 2 1609
暖寄归人
暖寄归人 2021-01-28 00:40

I am developing a game with WPF technology. I want to add new Features to game every third days . the size of update is important for me. my game needs to internet for start. li

2条回答
  •  抹茶落季
    2021-01-28 00:47

    AS far as I know clickonce won't do what you want.

    One option would be to take the source for a file diff application and retrofit it to compare the bytes of your binaries (V1.0 & V1.1 for arguments sake).

    You'll then have make an instructions file that explains how to turn V1.0 into V1.1 with the output of this differential program.

    You'll then need to write an updater app, that takes the upgrade instructions and turns V1.0 into V1.1 with them.

    This way only the changed bytes have been sent over the wire and not the entire program

    Have a look at this: http://www.codeproject.com/KB/files/LPTextFileDiff.aspx

    Hope this helps :-)

提交回复
热议问题