mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-31 03:22:14 +00:00
improve disk test. looks nicer now.
This commit is contained in:
@@ -23,6 +23,7 @@ namespace UnityScripts.Disk
|
||||
{
|
||||
if (_instance == null)
|
||||
{
|
||||
BetterStreamingAssets.Initialize(); //fuck, this is easy to forget.
|
||||
_instance = new StaticFilesCopier();
|
||||
}
|
||||
return _instance;
|
||||
@@ -33,7 +34,6 @@ namespace UnityScripts.Disk
|
||||
// do copy (scan the files in device, copy if not same as staticassets.).
|
||||
public int Work()
|
||||
{
|
||||
BetterStreamingAssets.Initialize(); //fuck, this is easy to forget.
|
||||
int res = CheckOmvDataFolderAndUpdateItIfNecessary();
|
||||
if (res != -1)
|
||||
CopyIsDoneAndNoErrors = true;
|
||||
|
||||
Reference in New Issue
Block a user