Skip to content

Commit 7ec21dd

Browse files
Add supported devices to README
1 parent d6f61a1 commit 7ec21dd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Home Assistant Taskbar Menu/Home Assistant Taskbar Menu.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<WarningLevel>4</WarningLevel>
6262
</PropertyGroup>
6363
<PropertyGroup>
64-
<StartupObject />
64+
<StartupObject>Home_Assistant_Taskbar_Menu.App</StartupObject>
6565
</PropertyGroup>
6666
<PropertyGroup>
6767
<ApplicationIcon>Images\small.ico</ApplicationIcon>

Home Assistant Taskbar Menu/Utils/Storage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public static void InitConfigDirectory()
116116
string currentDir = Directory.GetCurrentDirectory().Split('\\').ToList().Last();
117117
string appData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
118118
_basePath = $"{appData}\\Home Assistant Taskbar Menu\\{currentDir}";
119+
Directory.CreateDirectory(_basePath);
119120
if (!IsConsoleAvailable())
120121
{
121122
FileStream fileStream = new FileStream(LogPath, FileMode.Create);
@@ -124,7 +125,6 @@ public static void InitConfigDirectory()
124125
Console.SetError(streamWriter);
125126
}
126127
ConsoleWriter.WriteLine($"Config directory: {_basePath}", ConsoleColor.DarkYellow);
127-
Directory.CreateDirectory(_basePath);
128128
MoveFile(CredentialsPathOld, CredentialsPath);
129129
MoveFile(ViewConfigPathOld, ViewConfigPath);
130130
}

0 commit comments

Comments
 (0)