1.打包 Apppacker,可将unity的exe包封成一个exe文件;
2. 更新 AutoUpdater迁移到Github - 圣殿骑士
本地配置文件
<?xml version="1.0" encoding="utf-8"?>
<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Enabled>true</Enabled>
<ServerUrl>http://localhost:8087/yxbh/AutoupdateService.xml</ServerUrl>
<UpdateFileList>
<LocalFile path="yxbh.exe" lastver="0.6.9" size="1219249521" />
</UpdateFileList>
</Config>
服务端配置文件(Nginx/Apache)
<?xml version="1.0" encoding="utf-8"?>
<updateFiles>
<file path="yxbh.exe" url="http://localhost:8087/yxbh/yxbh.exe" lastver="0.7.0" size="1219249521" needRestart="true" />
</updateFiles>
exe文件大小手动计算,可使用git bash du命令 du -b *.exe