mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
21 lines
420 B
C#
21 lines
420 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace VRCX;
|
|
|
|
public partial class AppApi
|
|
{
|
|
public async Task DownloadUpdate(string fileUrl, string hashString, int downloadSize)
|
|
{
|
|
await Update.DownloadUpdate(fileUrl, hashString, downloadSize);
|
|
}
|
|
|
|
public void CancelUpdate()
|
|
{
|
|
Update.CancelUpdate();
|
|
}
|
|
|
|
public int CheckUpdateProgress()
|
|
{
|
|
return Update.UpdateProgress;
|
|
}
|
|
} |