Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Updated package seed installer (#592)
Browse files Browse the repository at this point in the history
* Added preview install capability

Fixed pref key
updated lumin checkout

* updated sdk checkout

* make sure we're clearing our progress bars

* updated submodules
  • Loading branch information
StephenHodgson authored May 17, 2020
1 parent e7abe8a commit d0d42c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Editor/PackageInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public static bool TryInstallAssets(Dictionary<string, string> installationPaths
EditorUtility.DisplayProgressBar("Verifying assets...", Path.GetFileNameWithoutExtension(installedAssets[i]), i / (float)installedAssets.Count);
installedAssets[i] = installedAssets[i].Replace($"{Directory.GetParent(Application.dataPath).FullName}\\", string.Empty).ToForwardSlashes();
}

EditorUtility.ClearProgressBar();
}
else
{
Expand Down Expand Up @@ -123,6 +125,7 @@ public static bool TryInstallAssets(Dictionary<string, string> installationPaths
EditorApplication.delayCall += () => AddConfigurations(installedAssets);
}

EditorUtility.ClearProgressBar();
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion Runtime/Utilities/Editor/MixedRealityEditorSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static MixedRealityEditorSettings()
/// </summary>
public static void CheckSettings()
{
EditorPrefs.SetBool("XRTK", true);
EditorPrefs.SetBool($"{Application.productName}_XRTK", true);

if (Application.isPlaying ||
EditorPrefs.GetBool(IgnoreKey, false) ||
Expand Down

0 comments on commit d0d42c8

Please sign in to comment.