Skip to content

Commit

Permalink
feat: Add tools and shaders tab
Browse files Browse the repository at this point in the history
  • Loading branch information
benaclejames committed May 23, 2024
1 parent f08300a commit 14f3c2e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
33 changes: 16 additions & 17 deletions com.furality.sdk/Editor/TestDataSource.cs → com.furality.sdk/Editor/LocalDataSource.cs
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,48 @@
using Furality.SDK.Editor.External.AssetHandling;
using Furality.SDK.Editor.External.FoxApi;
using JetBrains.Annotations;
using UnityEditor;
using UnityEngine;

namespace Furality.SDK.Editor
{
[Obsolete]
public class TestDataSource : IPackageDataSource
public class LocalDataSource : IPackageDataSource
{
private readonly List<FuralityPackage> _packages = new List<FuralityPackage>() {
// Shaders

new FuralityPackage()
{
Id = "com.furality.sylvashader",
Name = "Sylva Shader",
Description = "Our main shader for Furality Sylva!",
ImageUrl = "https://media.furality.online/image/f6/Furality_Sylva_Shader_thumb.jpg",
Id = "com.furality.umbrashader",
Name = "Umbra Shader",
Description = "Furality Umbra Avatar Shader for VRChat. Created by Naito @ Furality, Inc.",
ImageUrl = "https://media.cdn.furality.online/files/web/logo/furality-umbra-logo-md.png",
Category = "Shaders",
ConventionId = "Furality Sylva",
Version = new Version(1, 3, 3),
ConventionId = "Furality Umbra",
Version = new Version(1, 6, 0),
AttendanceLevel = AttendanceLevel.none,
IsPublic = true,
Dependencies = new List<Package>()
{
new Package() {Id = "com.llealloo.audiolink", Version = new Version(0, 3, 2)}
},
FallbackUrl = "https://github.com/furality/vcc-furality-sylva-shader/releases/download/1.3.3/com.furality.sylvashader-1.3.3.unitypackage"
FallbackUrl = "https://github.com/furality/vcc-furality-umbra-shader/releases/download/1.6.0/com.furality.umbrashader-1.6.0.unitypackage"
},
new FuralityPackage()
{
Id = "com.furality.umbrashader",
Name = "Umbra Shader",
Description = "Furality Umbra Avatar Shader for VRChat. Created by Naito @ Furality, Inc.",
Id = "com.furality.sylvashader",
Name = "Sylva Shader",
Description = "Our main shader for Furality Sylva!",
ImageUrl = "https://media.furality.online/image/f6/Furality_Sylva_Shader_thumb.jpg",
Category = "Shaders",
ConventionId = "Furality Umbra",
Version = new Version(1, 6, 0),
ConventionId = "Furality Sylva",
Version = new Version(1, 3, 3),
AttendanceLevel = AttendanceLevel.none,
IsPublic = true,
Dependencies = new List<Package>()
{
new Package() {Id = "com.llealloo.audiolink", Version = new Version(0, 3, 2)}
},
FallbackUrl = "https://github.com/furality/vcc-furality-umbra-shader/releases/download/1.6.0/com.furality.umbrashader-1.6.0.unitypackage"
FallbackUrl = "https://github.com/furality/vcc-furality-sylva-shader/releases/download/1.3.3/com.furality.sylvashader-1.3.3.unitypackage"
},

// Badges
Expand All @@ -54,7 +53,7 @@ public class TestDataSource : IPackageDataSource
Id = "com.furality.badgemaker",
Name = "Badge Maker",
Description = "Allows you to customise the text displayed on badges!",
ImageUrl = "https://media.furality.online/image/f6/Furality_Sylva_First_Class_Asset_Pack.jpg",
ImageUrl = "https://media.furality.online/files/web/merch/all-badges.png",
Category = "Tools",
ConventionId = "Furality Sylva",
Dependencies = new List<Package>(),
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion com.furality.sdk/Editor/Pages/DownloadsPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public DownloadsPage(MainWindow mainWindow) : base(mainWindow)
Debug.Log("Construct DownloadsPage");
_packageDataSources = new List<IPackageDataSource>
{
MainWindow.Api.FilesApi
MainWindow.Api.FilesApi,
new LocalDataSource()
};

MainWindow.Api.FilesApi.OnLoggedIn += RefreshPage;
Expand Down

0 comments on commit 14f3c2e

Please sign in to comment.