-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented native web GUI support for plugins inside the ASF IPC. Cl…
…oses #2876 (#2877) * 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 5d7d9ac. * 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
- Loading branch information
1 parent
69cb599
commit 97da56d
Showing
3 changed files
with
101 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// _ _ _ ____ _ _____ | ||
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ | ||
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ | ||
// / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || | | | | || _|| (_| || | | | | | | | | ||
// /_/ \_\|_| \___||_| |_||_||____/ \__|\___| \__,_||_| |_| |_||_| \__,_||_| |_| |_| |_| | ||
// | | ||
// Copyright 2015-2023 Łukasz "JustArchi" Domeradzki | ||
// Contact: [email protected] | ||
// | | ||
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters