Skip to content

Commit

Permalink
Fix certificate dialogue window not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
ababilinski committed Jul 10, 2021
1 parent 9725fa7 commit 3343fda
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Editor/MagicLeapSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ public static string CertificatePath
}
set
{
EditorPrefs.SetString(CERTIFICATE_PATH_KEY, value);
if (!string.IsNullOrEmpty(value))
{
EditorPrefs.SetString(CERTIFICATE_PATH_KEY, value);
}

UnityProjectSettingsUtility.Lumin.SetInternalCertificatePath(value);
_certificatePath = value;
ValidCertificatePath = HasLuminInstalled && !string.IsNullOrEmpty(_certificatePath) && File.Exists(_certificatePath);
Expand Down

0 comments on commit 3343fda

Please sign in to comment.