-
-
Notifications
You must be signed in to change notification settings - Fork 455
Description
Describe the solution you'd like
Currently the theme settings tab already has a link to "Browse for more themes" and that is super useful. But it is not clear where to put the theme you created.
I found out reading the code that it is supposed to be at %APPDATA%\FlowLauncher\Themes, so I added it there and it worked. If it is a portable installation it will be different.
It would be nice if there was another link to that folder, on the same settings tab (or the apropriate folder if it is a portable instalation).
Describe alternatives you've considered
The alternative is searching in the docs (I couldn't find it, hopefully this issue will help others find it) or reading the code. Docs could help, but the link would make it more intuitive and simpler to use.
Additional context
The code is this:
Flow.Launcher/Flow.Launcher.Core/Resource/Theme.cs
Lines 26 to 32 in fd56af7
| private string DirectoryPath => Path.Combine(Constant.ProgramDirectory, Folder); | |
| private string UserDirectoryPath => Path.Combine(DataLocation.DataDirectory(), Folder); | |
| public Theme() | |
| { | |
| _themeDirectories.Add(DirectoryPath); | |
| _themeDirectories.Add(UserDirectoryPath); |
And this:
| public static string RoamingDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "FlowLauncher"); | |
| public static string DataDirectory() | |
| { | |
| if (PortableDataLocationInUse()) | |
| return PortableDataPath; | |
| return RoamingDataPath; |
From the second code file you can see that if the installation is portable the directory will not be on %APPDATA%.