mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-23 02:12:14 +00:00
23 lines
534 B
C#
23 lines
534 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using ShiftOS.Engine;
|
|||
|
using ShiftOS.Objects.ShiftFS;
|
|||
|
|
|||
|
namespace ShiftOS.Frontend.Apps
|
|||
|
{
|
|||
|
[FileHandler("Skin Loader", ".skn", "")]
|
|||
|
public class SkinLoader : IFileHandler
|
|||
|
{
|
|||
|
public void OpenFile(string file)
|
|||
|
{
|
|||
|
string skn = Utils.ReadAllText(file);
|
|||
|
Utils.WriteAllText(Paths.GetPath("skin.json"), skn);
|
|||
|
SkinEngine.LoadSkin();
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|