Sicherung

This commit is contained in:
Maier Stephan SI
2023-01-29 19:58:40 +01:00
parent b684704bf8
commit 56c25672f9
10 changed files with 123 additions and 27 deletions

View File

@@ -1,8 +1,10 @@
using Config.Net;
using AutoUpdaterDotNET;
using Config.Net;
using Config.Net.Stores;
using Hardcodet.Wpf.TaskbarNotification;
using NHotkey;
using NHotkey.Wpf;
using System;
using System.IO;
using System.IO.Compression;
using System.Reflection;
@@ -21,11 +23,13 @@ namespace FSI.BT.Tools
public void Application_Startup(object sender, StartupEventArgs e)
{
{
Global.Log.Info("Anwendung wurde gestartet!");
ExtractEmbeddedZip("FSI.BT.Tools.ExtTools.kalk.zip", Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\ExtTools\\");
ExtractEmbeddedZip("FSI.BT.Tools.ExtTools.AudioSwitch.zip", Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\ExtTools\\");
ExtractEmbeddedZip("FSI.BT.Tools.ExtTools.SmartSystemMenu_v2.21.2.zip", Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\ExtTools\\");
// App-Settings
JsonConfigStore _store = new(System.IO.Path.Combine(Directory.GetCurrentDirectory(), "config.json"), true);
@@ -55,6 +59,7 @@ namespace FSI.BT.Tools
Data = Global.AppSettings.IbaDirSync
};
Global.Iba.Init();
}
private void ShowRadialMenu(object sender, HotkeyEventArgs e)