├── src
├── genshin.ico
├── Resources
│ ├── icon.ico
│ └── c978cbd1268ec3ec1a8e170cdfb4e214_405257739008908187.ico
├── packages.config
├── Properties
│ ├── Settings.settings
│ ├── AssemblyInfo.cs
│ ├── Settings.Designer.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── App.config
├── AutoStart.cs
├── StarRailRpc.csproj
└── Program.cs
├── .gitattributes
├── README.md
├── LICENSE.md
├── StarRailRpc.sln
└── .gitignore
/src/genshin.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kxnrl/StarRailRpc/HEAD/src/genshin.ico
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/src/Resources/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kxnrl/StarRailRpc/HEAD/src/Resources/icon.ico
--------------------------------------------------------------------------------
/src/Resources/c978cbd1268ec3ec1a8e170cdfb4e214_405257739008908187.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kxnrl/StarRailRpc/HEAD/src/Resources/c978cbd1268ec3ec1a8e170cdfb4e214_405257739008908187.ico
--------------------------------------------------------------------------------
/src/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | True
7 |
8 |
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Star Rail Rpc
2 |
3 |
4 | Enables Discord [Rich Presence](https://discord.com/rich-presence) For Honkai: Star Rail.
5 | 将星穹铁道动态同步到Discord.
6 | 支持国服/国际服
7 |
8 |
9 | ### Info
10 | * This application will auto launch on system start. If you don't want to do this, disable it in taskmgr.
11 | * 这个软件会在你开机的时候自启动, 如果你不需要可以在任务管理器中禁用.
12 |
13 |
14 |
15 | ### Feature
16 | * Sync Rich Presence.
17 | * 同步动态到Discord.
18 | * 清除动态当你退出游戏时.
19 |
20 |
21 | ### Preview
22 | 
--------------------------------------------------------------------------------
/src/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("StarRail Discord Rpc")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("StarRail discord Rpc")]
13 | [assembly: AssemblyCopyright("©2023 Kyle")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("dc96d5d9-7142-41a0-8ad7-105307ca62db")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
33 | //通过使用 "*",如下所示:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.2.0")]
36 | [assembly: AssemblyFileVersion("1.0.2.0")]
37 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Kyle
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/StarRailRpc.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.5.33530.505
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StarRailRpc", "src\StarRailRpc.csproj", "{F51CFE8E-A412-47B4-92BB-84759ED5F6D7}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {F51CFE8E-A412-47B4-92BB-84759ED5F6D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {F51CFE8E-A412-47B4-92BB-84759ED5F6D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {F51CFE8E-A412-47B4-92BB-84759ED5F6D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {F51CFE8E-A412-47B4-92BB-84759ED5F6D7}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {07F96A57-340D-443C-8C91-009941439E6D}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/src/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | True
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/src/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace StarRailDiscordRpc.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 |
26 | [global::System.Configuration.UserScopedSettingAttribute()]
27 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28 | [global::System.Configuration.DefaultSettingValueAttribute("True")]
29 | public bool IsFirstTime {
30 | get {
31 | return ((bool)(this["IsFirstTime"]));
32 | }
33 | set {
34 | this["IsFirstTime"] = value;
35 | }
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/AutoStart.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Win32;
2 | using System;
3 | using System.Reflection;
4 |
5 | namespace StarRailDiscordRpc;
6 |
7 | internal static class AutoStart
8 | {
9 | public static void Set()
10 | {
11 | try
12 | {
13 | // Open Base Key.
14 | using var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64).OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true);
15 |
16 | if (baseKey == null)
17 | {
18 | // wtf?
19 | Console.WriteLine(@"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Run");
20 | return;
21 | }
22 |
23 | baseKey.SetValue("StarRail-DiscordRpc", Assembly.GetEntryAssembly().Location);
24 | Console.WriteLine("AutoStartup has been set.");
25 | }
26 | catch (Exception e)
27 | {
28 | Console.WriteLine($"Failed to set autostartup: {e.Message}");
29 | }
30 | }
31 |
32 | public static void Remove()
33 | {
34 | try
35 | {
36 | // Open Base Key.
37 | using var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64).OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true);
38 |
39 | if (baseKey == null)
40 | {
41 | // wtf?
42 | Console.WriteLine(@"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Run");
43 | return;
44 | }
45 |
46 | baseKey.DeleteValue("StarRail-DiscordRpc", false);
47 | Console.WriteLine("AutoStartup has been deleted.");
48 | }
49 | catch (Exception e)
50 | {
51 | Console.WriteLine($"Failed to set autostartup: {e.Message}");
52 | }
53 | }
54 |
55 | public static bool Check()
56 | {
57 | try
58 | {
59 | // Open Base Key.
60 | using var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64).OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true);
61 |
62 | if (baseKey == null)
63 | {
64 | // wtf?
65 | Console.WriteLine(@"Cannot find HKCU\Software\Microsoft\Windows\CurrentVersion\Run");
66 | return false;
67 | }
68 |
69 | var ace = baseKey.GetValue("StarRail-DiscordRpc");
70 | var exe = Assembly.GetEntryAssembly().Location;
71 | return exe.Equals(ace);
72 | }
73 | catch (Exception e)
74 | {
75 | Console.WriteLine($"Failed to set autostartup: {e.Message}");
76 | }
77 |
78 | return false;
79 | }
80 | }
81 |
82 |
--------------------------------------------------------------------------------
/src/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace StarRailDiscordRpc.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("StarRailDiscordRpc.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 重写当前线程的 CurrentUICulture 属性,对
51 | /// 使用此强类型资源类的所有资源查找执行重写。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。
65 | ///
66 | internal static System.Drawing.Icon icon {
67 | get {
68 | object obj = ResourceManager.GetObject("icon", resourceCulture);
69 | return ((System.Drawing.Icon)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。
75 | ///
76 | internal static System.Drawing.Icon tray {
77 | get {
78 | object obj = ResourceManager.GetObject("tray", resourceCulture);
79 | return ((System.Drawing.Icon)(obj));
80 | }
81 | }
82 | }
83 | }
84 |
--------------------------------------------------------------------------------
/src/StarRailRpc.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {DC96D5D9-7142-41A0-8AD7-105307CA62DB}
8 | WinExe
9 | StarRailDiscordRpc
10 | StarRailDiscordRpc
11 | v4.8
12 | 512
13 | true
14 | true
15 |
16 | publish\
17 | true
18 | Disk
19 | false
20 | Foreground
21 | 7
22 | Days
23 | false
24 | false
25 | true
26 | 0
27 | 1.0.0.%2a
28 | false
29 | false
30 | true
31 | 10
32 |
33 |
34 | x64
35 | true
36 | full
37 | false
38 | bin\Debug\
39 | DEBUG;TRACE
40 | prompt
41 | 4
42 |
43 |
44 | x64
45 | pdbonly
46 | true
47 | bin\Release\
48 | TRACE
49 | prompt
50 | 4
51 |
52 |
53 | Resources\icon.ico
54 |
55 |
56 | StarRailDiscordRpc.Program
57 |
58 |
59 | LocalIntranet
60 |
61 |
62 | false
63 |
64 |
65 |
66 |
67 |
68 | ..\packages\DiscordRichPresence.1.1.3.18\lib\net45\DiscordRPC.dll
69 |
70 |
71 | ..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 | ResXFileCodeGenerator
92 | Resources.Designer.cs
93 | Designer
94 |
95 |
96 | True
97 | Resources.resx
98 | True
99 |
100 |
101 |
102 | SettingsSingleFileGenerator
103 | Settings.Designer.cs
104 |
105 |
106 | True
107 | Settings.settings
108 | True
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 | False
122 | Microsoft .NET Framework 4.8 %28x86 和 x64%29
123 | true
124 |
125 |
126 | False
127 | .NET Framework 3.5 SP1
128 | false
129 |
130 |
131 |
132 |
--------------------------------------------------------------------------------
/src/Program.cs:
--------------------------------------------------------------------------------
1 | using DiscordRPC;
2 | using System;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Runtime.InteropServices;
6 | using System.Threading;
7 | using System.Threading.Tasks;
8 | using System.Windows.Forms;
9 |
10 | namespace StarRailDiscordRpc;
11 |
12 | internal static class Program
13 | {
14 | private const string AppId_Zh = "1100788944901247026";
15 | private const string AppId_En = "1100789242029948999";
16 |
17 | [STAThread]
18 | static void Main()
19 | {
20 | using var self = new Mutex(true, "StarRail DiscordRPC", out var allow);
21 | if (!allow)
22 | {
23 | MessageBox.Show("StarRail DiscordRPC is already running.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
24 | Environment.Exit(-1);
25 | }
26 |
27 | if (Properties.Settings.Default.IsFirstTime)
28 | {
29 | AutoStart.Set();
30 | Properties.Settings.Default.IsFirstTime = false;
31 | Properties.Settings.Default.Save();
32 | }
33 |
34 | Task.Run(async () =>
35 | {
36 | using var clientZh = new DiscordRpcClient(AppId_Zh);
37 | using var clientEn = new DiscordRpcClient(AppId_En);
38 | clientZh.Initialize();
39 | clientEn.Initialize();
40 |
41 | var playing = false;
42 |
43 | while (true)
44 | {
45 | await Task.Delay(1000);
46 |
47 | Debug.Print($"InLoop");
48 |
49 | var miHoyo = true;
50 | var handle = FindWindow("UnityWndClass", "崩坏:星穹铁道");
51 | if (handle == IntPtr.Zero)
52 | {
53 | // hoyoverse
54 | miHoyo = false;
55 | handle = FindWindow("UnityWndClass", "Honkai: Star Rail");
56 | }
57 |
58 | if (handle == IntPtr.Zero)
59 | {
60 | Debug.Print($"Not found game process.");
61 | playing = false;
62 | if (clientEn.CurrentPresence != null)
63 | {
64 | clientEn.ClearPresence();
65 | }
66 | if (clientZh.CurrentPresence != null)
67 | {
68 | clientZh.ClearPresence();
69 | }
70 | continue;
71 | }
72 |
73 | try
74 | {
75 | var process = Process.GetProcesses().First(x => x.MainWindowHandle == handle);
76 |
77 | Debug.Print($"Check process with {handle} | {process.ProcessName}");
78 |
79 | if (miHoyo)
80 | {
81 | if (!playing)
82 | {
83 | playing = true;
84 | clientZh.UpdateRpc("logo", "崩坏:星穹铁道");
85 | Debug.Print($"Set RichPresence to {process.ProcessName}");
86 | }
87 | else
88 | {
89 | Debug.Print($"Keep RichPresence to {process.ProcessName}");
90 | }
91 | }
92 | else
93 | {
94 | if (!playing)
95 | {
96 | playing = true;
97 | clientEn.UpdateRpc("logo", "Honkai: Star Rail");
98 | Debug.Print($"Set RichPresence to {process.ProcessName}");
99 | }
100 | else
101 | {
102 | Debug.Print($"Keep RichPresence to {process.ProcessName}");
103 | }
104 | }
105 | }
106 | catch (Exception e)
107 | {
108 | playing = false;
109 | if (clientEn.CurrentPresence != null)
110 | {
111 | clientEn.ClearPresence();
112 | }
113 | if (clientZh.CurrentPresence != null)
114 | {
115 | clientZh.ClearPresence();
116 | }
117 | Debug.Print($"{e.Message}{Environment.NewLine}{e.StackTrace}");
118 | }
119 |
120 | GC.Collect();
121 | GC.WaitForFullGCComplete();
122 | }
123 | });
124 |
125 | Application.EnableVisualStyles();
126 | Application.SetCompatibleTextRenderingDefault(false);
127 |
128 | var notifyMenu = new ContextMenu();
129 | var exitButton = new MenuItem("Exit");
130 | var autoButton = new MenuItem("AutoStart" + " " + (AutoStart.Check() ? "√" : "✘"));
131 | notifyMenu.MenuItems.Add(0, autoButton);
132 | notifyMenu.MenuItems.Add(1, exitButton);
133 |
134 | var notifyIcon = new NotifyIcon()
135 | {
136 | BalloonTipIcon = ToolTipIcon.Info,
137 | ContextMenu = notifyMenu,
138 | Text = "StarRail DiscordRPC",
139 | Icon = Properties.Resources.tray,
140 | Visible = true,
141 | };
142 |
143 | exitButton.Click += (_, _) =>
144 | {
145 | notifyIcon.Visible = false;
146 | Thread.Sleep(100);
147 | Environment.Exit(0);
148 | };
149 | autoButton.Click += (_, _) =>
150 | {
151 | if (AutoStart.Check())
152 | {
153 | AutoStart.Remove();
154 | }
155 | else
156 | {
157 | AutoStart.Set();
158 | }
159 |
160 | autoButton.Text = "AutoStart" + " " + (AutoStart.Check() ? "√" : "✘");
161 | };
162 |
163 |
164 | Application.Run();
165 | }
166 |
167 | private static void UpdateRpc(this DiscordRpcClient client, string key, string text)
168 | => client.SetPresence(new RichPresence
169 | {
170 | Assets = new Assets
171 | {
172 | LargeImageKey = key,
173 | LargeImageText = text,
174 | },
175 | Timestamps = Timestamps.Now,
176 | });
177 |
178 | [DllImport("user32.dll")]
179 | private static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
180 | }
181 |
--------------------------------------------------------------------------------
/src/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\Resources\icon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
125 | ..\Resources\c978cbd1268ec3ec1a8e170cdfb4e214_405257739008908187.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
126 |
127 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Aa][Rr][Mm]/
27 | [Aa][Rr][Mm]64/
28 | bld/
29 | [Bb]in/
30 | [Oo]bj/
31 | [Ll]og/
32 | [Ll]ogs/
33 |
34 | # Visual Studio 2015/2017 cache/options directory
35 | .vs/
36 | # Uncomment if you have tasks that create the project's static files in wwwroot
37 | #wwwroot/
38 |
39 | # Visual Studio 2017 auto generated files
40 | Generated\ Files/
41 |
42 | # MSTest test Results
43 | [Tt]est[Rr]esult*/
44 | [Bb]uild[Ll]og.*
45 |
46 | # NUnit
47 | *.VisualState.xml
48 | TestResult.xml
49 | nunit-*.xml
50 |
51 | # Build Results of an ATL Project
52 | [Dd]ebugPS/
53 | [Rr]eleasePS/
54 | dlldata.c
55 |
56 | # Benchmark Results
57 | BenchmarkDotNet.Artifacts/
58 |
59 | # .NET Core
60 | project.lock.json
61 | project.fragment.lock.json
62 | artifacts/
63 |
64 | # StyleCop
65 | StyleCopReport.xml
66 |
67 | # Files built by Visual Studio
68 | *_i.c
69 | *_p.c
70 | *_h.h
71 | *.ilk
72 | *.meta
73 | *.obj
74 | *.iobj
75 | *.pch
76 | *.pdb
77 | *.ipdb
78 | *.pgc
79 | *.pgd
80 | *.rsp
81 | *.sbr
82 | *.tlb
83 | *.tli
84 | *.tlh
85 | *.tmp
86 | *.tmp_proj
87 | *_wpftmp.csproj
88 | *.log
89 | *.vspscc
90 | *.vssscc
91 | .builds
92 | *.pidb
93 | *.svclog
94 | *.scc
95 |
96 | # Chutzpah Test files
97 | _Chutzpah*
98 |
99 | # Visual C++ cache files
100 | ipch/
101 | *.aps
102 | *.ncb
103 | *.opendb
104 | *.opensdf
105 | *.sdf
106 | *.cachefile
107 | *.VC.db
108 | *.VC.VC.opendb
109 |
110 | # Visual Studio profiler
111 | *.psess
112 | *.vsp
113 | *.vspx
114 | *.sap
115 |
116 | # Visual Studio Trace Files
117 | *.e2e
118 |
119 | # TFS 2012 Local Workspace
120 | $tf/
121 |
122 | # Guidance Automation Toolkit
123 | *.gpState
124 |
125 | # ReSharper is a .NET coding add-in
126 | _ReSharper*/
127 | *.[Rr]e[Ss]harper
128 | *.DotSettings.user
129 |
130 | # JustCode is a .NET coding add-in
131 | .JustCode
132 |
133 | # TeamCity is a build add-in
134 | _TeamCity*
135 |
136 | # DotCover is a Code Coverage Tool
137 | *.dotCover
138 |
139 | # AxoCover is a Code Coverage Tool
140 | .axoCover/*
141 | !.axoCover/settings.json
142 |
143 | # Visual Studio code coverage results
144 | *.coverage
145 | *.coveragexml
146 |
147 | # NCrunch
148 | _NCrunch_*
149 | .*crunch*.local.xml
150 | nCrunchTemp_*
151 |
152 | # MightyMoose
153 | *.mm.*
154 | AutoTest.Net/
155 |
156 | # Web workbench (sass)
157 | .sass-cache/
158 |
159 | # Installshield output folder
160 | [Ee]xpress/
161 |
162 | # DocProject is a documentation generator add-in
163 | DocProject/buildhelp/
164 | DocProject/Help/*.HxT
165 | DocProject/Help/*.HxC
166 | DocProject/Help/*.hhc
167 | DocProject/Help/*.hhk
168 | DocProject/Help/*.hhp
169 | DocProject/Help/Html2
170 | DocProject/Help/html
171 |
172 | # Click-Once directory
173 | publish/
174 |
175 | # Publish Web Output
176 | *.[Pp]ublish.xml
177 | *.azurePubxml
178 | # Note: Comment the next line if you want to checkin your web deploy settings,
179 | # but database connection strings (with potential passwords) will be unencrypted
180 | *.pubxml
181 | *.publishproj
182 |
183 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
184 | # checkin your Azure Web App publish settings, but sensitive information contained
185 | # in these scripts will be unencrypted
186 | PublishScripts/
187 |
188 | # NuGet Packages
189 | *.nupkg
190 | # NuGet Symbol Packages
191 | *.snupkg
192 | # The packages folder can be ignored because of Package Restore
193 | **/[Pp]ackages/*
194 | # except build/, which is used as an MSBuild target.
195 | !**/[Pp]ackages/build/
196 | # Uncomment if necessary however generally it will be regenerated when needed
197 | #!**/[Pp]ackages/repositories.config
198 | # NuGet v3's project.json files produces more ignorable files
199 | *.nuget.props
200 | *.nuget.targets
201 |
202 | # Microsoft Azure Build Output
203 | csx/
204 | *.build.csdef
205 |
206 | # Microsoft Azure Emulator
207 | ecf/
208 | rcf/
209 |
210 | # Windows Store app package directories and files
211 | AppPackages/
212 | BundleArtifacts/
213 | Package.StoreAssociation.xml
214 | _pkginfo.txt
215 | *.appx
216 | *.appxbundle
217 | *.appxupload
218 |
219 | # Visual Studio cache files
220 | # files ending in .cache can be ignored
221 | *.[Cc]ache
222 | # but keep track of directories ending in .cache
223 | !?*.[Cc]ache/
224 |
225 | # Others
226 | ClientBin/
227 | ~$*
228 | *~
229 | *.dbmdl
230 | *.dbproj.schemaview
231 | *.jfm
232 | *.pfx
233 | *.publishsettings
234 | orleans.codegen.cs
235 |
236 | # Including strong name files can present a security risk
237 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
238 | #*.snk
239 |
240 | # Since there are multiple workflows, uncomment next line to ignore bower_components
241 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
242 | #bower_components/
243 |
244 | # RIA/Silverlight projects
245 | Generated_Code/
246 |
247 | # Backup & report files from converting an old project file
248 | # to a newer Visual Studio version. Backup files are not needed,
249 | # because we have git ;-)
250 | _UpgradeReport_Files/
251 | Backup*/
252 | UpgradeLog*.XML
253 | UpgradeLog*.htm
254 | ServiceFabricBackup/
255 | *.rptproj.bak
256 |
257 | # SQL Server files
258 | *.mdf
259 | *.ldf
260 | *.ndf
261 |
262 | # Business Intelligence projects
263 | *.rdl.data
264 | *.bim.layout
265 | *.bim_*.settings
266 | *.rptproj.rsuser
267 | *- [Bb]ackup.rdl
268 | *- [Bb]ackup ([0-9]).rdl
269 | *- [Bb]ackup ([0-9][0-9]).rdl
270 |
271 | # Microsoft Fakes
272 | FakesAssemblies/
273 |
274 | # GhostDoc plugin setting file
275 | *.GhostDoc.xml
276 |
277 | # Node.js Tools for Visual Studio
278 | .ntvs_analysis.dat
279 | node_modules/
280 |
281 | # Visual Studio 6 build log
282 | *.plg
283 |
284 | # Visual Studio 6 workspace options file
285 | *.opt
286 |
287 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
288 | *.vbw
289 |
290 | # Visual Studio LightSwitch build output
291 | **/*.HTMLClient/GeneratedArtifacts
292 | **/*.DesktopClient/GeneratedArtifacts
293 | **/*.DesktopClient/ModelManifest.xml
294 | **/*.Server/GeneratedArtifacts
295 | **/*.Server/ModelManifest.xml
296 | _Pvt_Extensions
297 |
298 | # Paket dependency manager
299 | .paket/paket.exe
300 | paket-files/
301 |
302 | # FAKE - F# Make
303 | .fake/
304 |
305 | # CodeRush personal settings
306 | .cr/personal
307 |
308 | # Python Tools for Visual Studio (PTVS)
309 | __pycache__/
310 | *.pyc
311 |
312 | # Cake - Uncomment if you are using it
313 | # tools/**
314 | # !tools/packages.config
315 |
316 | # Tabs Studio
317 | *.tss
318 |
319 | # Telerik's JustMock configuration file
320 | *.jmconfig
321 |
322 | # BizTalk build output
323 | *.btp.cs
324 | *.btm.cs
325 | *.odx.cs
326 | *.xsd.cs
327 |
328 | # OpenCover UI analysis results
329 | OpenCover/
330 |
331 | # Azure Stream Analytics local run output
332 | ASALocalRun/
333 |
334 | # MSBuild Binary and Structured Log
335 | *.binlog
336 |
337 | # NVidia Nsight GPU debugger configuration file
338 | *.nvuser
339 |
340 | # MFractors (Xamarin productivity tool) working folder
341 | .mfractor/
342 |
343 | # Local History for Visual Studio
344 | .localhistory/
345 |
346 | # BeatPulse healthcheck temp database
347 | healthchecksdb
348 |
349 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
350 | MigrationBackup/
351 |
352 | # Ionide (cross platform F# VS Code tools) working folder
353 | .ionide/
354 |
355 | # Nproj
356 | *.nrproj
--------------------------------------------------------------------------------