diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a081308 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Common"] + path = Common + url = https://github.com/ckaczor/Common.git diff --git a/App.xaml.cs b/App.xaml.cs index 78aec92..a1253dc 100644 --- a/App.xaml.cs +++ b/App.xaml.cs @@ -1,9 +1,9 @@ using FloatingStatusWindowLibrary; using ProcessCpuUsageStatusWindow.Properties; +using Squirrel; using System; using System.Diagnostics; using System.Windows; -using Squirrel; namespace ProcessCpuUsageStatusWindow { @@ -16,7 +16,7 @@ namespace ProcessCpuUsageStatusWindow [STAThread] public static void Main(string[] args) { - SquirrelAwareApp.HandleEvents(onAppUpdate: version => SettingsExtensions.RestoreSettings()); + SquirrelAwareApp.HandleEvents(onAppUpdate: version => Common.Settings.Extensions.RestoreSettings()); var application = new App(); application.InitializeComponent(); diff --git a/Common b/Common new file mode 160000 index 0000000..ecd3717 --- /dev/null +++ b/Common @@ -0,0 +1 @@ +Subproject commit ecd3717eab737ede13023c7c81baa34488a05609 diff --git a/ProcessCpuUsageStatusWindow.csproj b/ProcessCpuUsageStatusWindow.csproj index 07347ea..0f6d33f 100644 --- a/ProcessCpuUsageStatusWindow.csproj +++ b/ProcessCpuUsageStatusWindow.csproj @@ -130,7 +130,6 @@ App.xaml Code - @@ -170,6 +169,12 @@ + + + {17864d82-457d-4a0a-bc10-1d07f2b3a5d6} + Common + +