8000 Fix symlink validation & git utilities by StephenHodgson · Pull Request #843 · XRTK/com.xrtk.core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 11, 2024. It is now read-only.

Fix symlink validation & git utilities #843

Merged
merged 12 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,40 +81,3 @@ XRTK-Core/Assets/Plugins/Lumin/Editor/
XRTK-Core/Assets/Plugins/Lumin/Editor.meta
XRTK-Core/Assets/StreamingAssets/
XRTK-Core/Assets/StreamingAssets.meta

# ====================== #
# Project Symbolic Links #
# ====================== #
XRTK-Core/Packages/com.xrtk.arcore
XRTK-Core/Packages/com.xrtk.etee
XRTK-Core/Packages/com.xrtk.gltf
XRTK-Core/Packages/com.xrtk.lenovo
XRTK-Core/Packages/com.xrtk.lumin
XRTK-Core/Packages/com.xrtk.nreal
XRTK-Core/Packages/com.xrtk.oculus
XRTK-Core/Packages/com.xrtk.sdk
XRTK-Core/Packages/com.xrtk.steamvr
XRTK-Core/Packages/com.xrtk.ultraleap
XRTK-Core/Packages/com.xrtk.wmr
XRTK-Core/Assets/XRTK.Examples
XRTK-Core/Assets/XRTK.Examples.meta
XRTK-Core/Assets/XRTK.Generated/ARCore
XRTK-Core/Assets/XRTK.Generated/ARCore.meta
XRTK-Core/Assets/XRTK.Generated/Etee
XRTK-Core/Assets/XRTK.Generated/Etee.meta
XRTK-Core/Assets/XRTK.Generated/Lenovo
XRTK-Core/Assets/XRTK.Generated/Lenovo.meta
XRTK-Core/Assets/XRTK.Generated/Lumin
XRTK-Core/Assets/XRTK.Generated/Lumin.meta
XRTK-Core/Assets/XRTK.Generated/Nreal
XRTK-Core/Assets/XRTK.Generated/Nreal.meta
XRTK-Core/Assets/XRTK.Generated/Oculus
XRTK-Core/Assets/XRTK.Generated/Oculus.meta
XRTK-Core/Assets/XRTK.Generated/SDK
XRTK-Core/Assets/XRTK.Generated/SDK.meta
XRTK-Core/Assets/XRTK.Generated/SteamVR
XRTK-Core/Assets/XRTK.Generated/SteamVR.meta
XRTK-Core/Assets/XRTK.Generated/Ultraleap
XRTK-Core/Assets/XRTK.Generated/Ultraleap.meta
XRTK-Core/Assets/XRTK.Generated/WindowsMixedReality
XRTK-Core/Assets/XRTK.Generated/WindowsMixedReality.meta
1 change: 1 addition & 0 deletions CleanupSymlinks.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Get-ChildItem -Path $PSScriptRoot -Force -Recurse -ErrorAction 'silentlycontinue' -Attributes ReparsePoint | ForEach-Object { $_.delete() }
1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Examples
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Examples.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/ARCore.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/ARCore/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/ARCore/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Etee.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/Etee/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Etee/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Lenovo.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/Lenovo/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Lenovo/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Lumin.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/Lumin/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Lumin/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Nreal.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/Nreal/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Nreal/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Oculus.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/Oculus/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Oculus/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/SDK.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/SDK/Prefabs
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/SDK/Prefabs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/SDK/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/SDK/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/SteamVR.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/SteamVR/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/SteamVR/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Ultraleap.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions XRTK-Core/Assets/XRTK.Generated/Ultraleap/Profiles
8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/Ultraleap/Profiles.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions XRTK-Core/Assets/XRTK.Generated/WindowsMixedReality.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,19 @@ namespace XRTK.Editor.Utilities
/// <summary>
/// Convenience class for setting Editor Preferences with <see cref="Application.productName"/> as key prefix.
/// </summary>
[InitializeOnLoad]
public static class EditorPreferences
{
static EditorPreferences()
{
applicationProductName = Application.productName;
applicationDataPath = Application.dataPath;
}

private static string applicationDataPath;

public static string ApplicationDataPath = applicationDataPath ?? (applicationDataPath = Application.dataPath);

private static string applicationProductName = null;

public static string ApplicationProductName => applicationProductName ?? (applicationProductName = Application.productName);
Expand Down
Loading
0