static Initialize() { Debug.Log("Upfile loading..."); if (!Upfile.CheckForUpfile()) { Debug.Log("No Upfile was found at the root of your project, Uplift created a sample one for you to start working on"); SampleFile.CreateSampleUpfile(); } if (!IsInitialized()) { UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE, refresh: true); MarkAsInitialized(); } }
static Initialize() { Debug.Log("Using Uplift version " + About.Version); if (!Upfile.CheckForUpfile()) { Debug.Log("No Upfile was found at the root of your project, Uplift created a sample one for you to start working on"); SampleFile.CreateSampleUpfile(); } if (LockFileTracker.HasChanged()) { UpliftManager.ResetInstances(); UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE); LockFileTracker.SaveState(); } Updater.CheckForUpdate(); }