Skip to content

Commit 082e1ef

Browse files
author
ComputerElite
committed
show 100% on download complete instead of 99 (untested)
1 parent 8bbd4d5 commit 082e1ef

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

DownloadManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public void StartDownload(long binaryid, string password, string version, string
7979
{
8080
DownloadFinishedEvent(this);
8181
this.backupName = "Done: restore " + backupName + " to downgrade your game any time";
82+
this.done = this.total;
83+
this.doneString = this.totalString;
84+
this.percentage = 1.0;
85+
this.percentageString = "100%";
8286
this.textColor = "#30e34b";
8387
}
8488
};

QuestAppVersionSwitcher.csproj.user

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<SelectedDevice>Oculus Quest</SelectedDevice>
5-
<ActiveDebugProfile>Oculus Quest</ActiveDebugProfile>
4+
<SelectedDevice>pixel_5_q_10_0_-_api_29</SelectedDevice>
5+
<ActiveDebugProfile>pixel_5_q_10_0_-_api_29</ActiveDebugProfile>
66
<DefaultDevice>pixel_5_q_10_0_-_api_29</DefaultDevice>
77
<AndroidDesignerPreferredTheme>AppTheme</AndroidDesignerPreferredTheme>
88
<AndroidDesignerPreferredDevice>Nexus 4</AndroidDesignerPreferredDevice>

0 commit comments

Comments
 (0)