From 934e8565b1d81d50a18f21111c6d55dc403727df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9?= Date: Tue, 1 Jan 2019 01:18:44 +0100 Subject: [PATCH] v0.1-alpha --- MouseTrap/App.config | 15 --------------- MouseTrap/Models/SettingsFile.cs | 5 +++-- MouseTrap/Properties/AssemblyInfo.cs | 8 ++++---- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/MouseTrap/App.config b/MouseTrap/App.config index 1c485fb..529b889 100644 --- a/MouseTrap/App.config +++ b/MouseTrap/App.config @@ -1,21 +1,6 @@  - - -
- - - - - - - Start - - - \ No newline at end of file diff --git a/MouseTrap/Models/SettingsFile.cs b/MouseTrap/Models/SettingsFile.cs index 1793ec2..e66c760 100644 --- a/MouseTrap/Models/SettingsFile.cs +++ b/MouseTrap/Models/SettingsFile.cs @@ -1,10 +1,11 @@ -using System.IO; +using System; +using System.IO; using System.Windows.Forms; namespace MouseTrap.Models { public class SettingsFile { - protected static string SavePath(string name) => Path.Combine(Application.UserAppDataPath, name + ".json"); + protected static string SavePath(string name) => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), nameof(MouseTrap), name + ".json"); public static void Save(T obj) { diff --git a/MouseTrap/Properties/AssemblyInfo.cs b/MouseTrap/Properties/AssemblyInfo.cs index af18cd0..d7e0be0 100644 --- a/MouseTrap/Properties/AssemblyInfo.cs +++ b/MouseTrap/Properties/AssemblyInfo.cs @@ -6,9 +6,9 @@ // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MouseTrap")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("MouseTrap is a small tool to map the cursor between multiple monitors with different resolutions and scaling settings.")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("LarchSys")] [assembly: AssemblyProduct("MouseTrap")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")]