mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
* Implemented native web GUI support for plugins inside the ASF IPC
ref #2876
* calm down netframework
* less `#if`'s
* code optimization
* misc
* Code improvements
* Support nested paths
* Revert "Support nested paths"
This reverts commit 5d7d9ac6ae.
* Support for nested paths (no errors now I guess)
* better path naming
* fixed typos
* Use `HashSet<string>` instead of `List<string>`
* Code improvements
* Code improvements
* Code improvements
* Code improvements
* Code improvements
* Added support for overriding ASF-ui files
* Removed a modified file from pull request
* Added `IWebInterface`
* less `#if`'s
* Code improvements
* Code improvements
* Added license
* Code improvements
* Added default implementation of `IWebInterface`
* Code improvements:
*Use of `OfType<>` instead `Where` and casting.
* Code improvements:
*Null checking
* Removed useless code
* shut up `netf`
* Removed useless null check
* Code improvements:
*Misc: kvp deconstaction
* Added support for absolute path
This commit is contained in:
33
ArchiSteamFarm/Plugins/Interfaces/IWebInterface.cs
Normal file
33
ArchiSteamFarm/Plugins/Interfaces/IWebInterface.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
// _ _ _ ____ _ _____
|
||||
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
|
||||
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
|
||||
// / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || | | | | || _|| (_| || | | | | | | |
|
||||
// /_/ \_\|_| \___||_| |_||_||____/ \__|\___| \__,_||_| |_| |_||_| \__,_||_| |_| |_| |_|
|
||||
// |
|
||||
// Copyright 2015-2023 Łukasz "JustArchi" Domeradzki
|
||||
// Contact: JustArchi@JustArchi.net
|
||||
// |
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
// |
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
// |
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace ArchiSteamFarm.Plugins.Interfaces;
|
||||
|
||||
#if !NETFRAMEWORK && !NETSTANDARD
|
||||
public interface IWebInterface : IPlugin {
|
||||
string PhysicalPath => "www";
|
||||
|
||||
[JsonProperty]
|
||||
string WebPath => "/";
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user