-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
334 additions
and
35 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
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,5 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Version>0.7.1-beta</Version> | ||
</PropertyGroup> | ||
</Project> |
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
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
37 changes: 37 additions & 0 deletions
37
src/Templates/CurvaLauncher.PluginTemplate/.template.config/template.json
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,37 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"author": "EleCho", | ||
"identity": "CurvaLauncher.PluginTemplate", | ||
"classifications": [ | ||
"CurvaLauncher", | ||
"Library" | ||
], | ||
"name": "CurvaLauncher Plugin", | ||
"description": "Creates a CurvaLauncher plugin", | ||
"tags": { | ||
"language": "C#", | ||
"type": "project" | ||
}, | ||
"shortName": "clp", | ||
"sourceName": "CurvaLauncher.PluginTemplate", | ||
"symbols": { | ||
"EnableI18n": { | ||
"type": "parameter", | ||
"datatype": "bool", | ||
"defaultValue": "true" | ||
} | ||
}, | ||
"sources": [ | ||
{ | ||
"modifiers": [ | ||
{ | ||
"condition": "(!EnableI18n)", | ||
"exclude": [ | ||
"I18n/EnUs.xaml", | ||
"I18n/ZhHans.xaml" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
src/Templates/CurvaLauncher.PluginTemplate/CurvaLauncher.PluginTemplate.csproj
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,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CurvaLauncher.Plugins" Version="0.7.1-beta" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Page Include="I18n\EnUs.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
<Page Include="I18n\ZhHans.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
</ItemGroup> | ||
|
||
</Project> |
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,9 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib"> | ||
<sys:String x:Key="StrPluginName">Sample Plugin</sys:String> | ||
<sys:String x:Key="StrPluginDescription">This is a plugin with i18n support</sys:String> | ||
|
||
<sys:String x:Key="StrTestResultTitle">Test Plugin</sys:String> | ||
<sys:String x:Key="StrTestResultDescription">Your plugin is running well</sys:String> | ||
</ResourceDictionary> |
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,9 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib"> | ||
<sys:String x:Key="StrPluginName">示例插件</sys:String> | ||
<sys:String x:Key="StrPluginDescription">这是一个支持本地化的插件</sys:String> | ||
|
||
<sys:String x:Key="StrTestResultTitle">测试插件</sys:String> | ||
<sys:String x:Key="StrTestResultDescription">你的插件运行良好</sys:String> | ||
</ResourceDictionary> |
Oops, something went wrong.