mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix a little spell check
This commit is contained in:
parent
92839b004e
commit
db4553f1c8
9 changed files with 29 additions and 17 deletions
4
.github/actions/spelling/allow.txt
vendored
4
.github/actions/spelling/allow.txt
vendored
|
|
@ -3,3 +3,7 @@ https
|
|||
ssh
|
||||
ubuntu
|
||||
runcount
|
||||
nunit
|
||||
velopack
|
||||
vpk
|
||||
vsc
|
||||
2
.github/actions/spelling/expect.txt
vendored
2
.github/actions/spelling/expect.txt
vendored
|
|
@ -106,3 +106,5 @@ alreadyexists
|
|||
JsonRPC
|
||||
JsonRPCV2
|
||||
Softpedia
|
||||
ime
|
||||
LPWStr
|
||||
6
.github/actions/spelling/patterns.txt
vendored
6
.github/actions/spelling/patterns.txt
vendored
|
|
@ -29,6 +29,12 @@
|
|||
# IServiceProvider
|
||||
\bI(?=(?:[A-Z][a-z]{2,})+\b)
|
||||
|
||||
# KListener
|
||||
\bK(?=(?:[A-Z][a-z]{2,})+\b)
|
||||
|
||||
# TApplication
|
||||
\bT(?=(?:[A-Z][a-z]{2,})+\b)
|
||||
|
||||
# hit-count: 297 file-count: 18
|
||||
# uuid:
|
||||
\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b
|
||||
|
|
|
|||
|
|
@ -66,9 +66,9 @@ namespace Flow.Launcher.Core.Configuration
|
|||
}
|
||||
|
||||
|
||||
internal void IndicateDeletion(string filePathTodelete)
|
||||
internal void IndicateDeletion(string filePathToDelete)
|
||||
{
|
||||
var deleteFilePath = Path.Combine(filePathTodelete, DataLocation.DeletionIndicatorFile);
|
||||
var deleteFilePath = Path.Combine(filePathToDelete, DataLocation.DeletionIndicatorFile);
|
||||
using (var _ = File.CreateText(deleteFilePath))
|
||||
{
|
||||
}
|
||||
|
|
@ -80,7 +80,7 @@ namespace Flow.Launcher.Core.Configuration
|
|||
///</summary>
|
||||
public void PreStartCleanUpAfterPortabilityUpdate()
|
||||
{
|
||||
// check whether the package locate in %localappdata%
|
||||
// check whether the package locate in %LocalAppData%
|
||||
// if not create the portable data folder
|
||||
// Don't create the folder if the version is 1.0.0 (Dev) to allow potential debugging with data in the project folder
|
||||
// It is still possible to create the UserData folder for dev version manually but we want to keep the current behavior
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
|
||||
/// <summary>
|
||||
/// Copies the folder and all of its files and folders
|
||||
/// including subfolders to the target location
|
||||
/// including subFolders to the target location
|
||||
/// </summary>
|
||||
/// <param name="sourcePath"></param>
|
||||
/// <param name="targetPath"></param>
|
||||
|
|
@ -64,15 +64,15 @@ namespace Flow.Launcher.Plugin.SharedCommands
|
|||
FileInfo[] files = dir.GetFiles();
|
||||
foreach (FileInfo file in files)
|
||||
{
|
||||
string temppath = Path.Combine(targetPath, file.Name);
|
||||
file.CopyTo(temppath, false);
|
||||
string tempPath = Path.Combine(targetPath, file.Name);
|
||||
file.CopyTo(tempPath, false);
|
||||
}
|
||||
|
||||
// Recursively copy subdirectories by calling itself on each subdirectory until there are no more to copy
|
||||
foreach (DirectoryInfo subdir in dirs)
|
||||
foreach (DirectoryInfo subDir in dirs)
|
||||
{
|
||||
string temppath = Path.Combine(targetPath, subdir.Name);
|
||||
CopyAll(subdir.FullName, temppath);
|
||||
string temppath = Path.Combine(targetPath, subDir.Name);
|
||||
CopyAll(subDir.FullName, temppath);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace Flow.Launcher.Test
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void GivenDuplicatePluginMetadatasWithNoUniquePluginWhenLoadedThenShouldReturnEmptyList()
|
||||
public void GivenDuplicatePluginMetaDataWithNoUniquePluginWhenLoadedThenShouldReturnEmptyList()
|
||||
{
|
||||
// Given
|
||||
var duplicateList = new List<PluginMetadata>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace Flow.Launcher
|
|||
RegisterAppDomainExceptions();
|
||||
RegisterDispatcherUnhandledException();
|
||||
|
||||
var imageLoadertask = ImageLoader.InitializeAsync();
|
||||
var imageLoaderTask = ImageLoader.InitializeAsync();
|
||||
|
||||
_settingsVM = new SettingWindowViewModel(_updater, _portable);
|
||||
_settings = _settingsVM.Settings;
|
||||
|
|
@ -86,7 +86,7 @@ namespace Flow.Launcher
|
|||
Http.Proxy = _settings.Proxy;
|
||||
|
||||
await PluginManager.InitializePluginsAsync(API);
|
||||
await imageLoadertask;
|
||||
await imageLoaderTask;
|
||||
|
||||
var window = new MainWindow(_settings, _mainVM);
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ using System.Windows;
|
|||
using Velopack;
|
||||
|
||||
// http://blogs.microsoft.co.il/arik/2010/05/28/wpf-single-instance-application/
|
||||
// modified to allow single instace restart
|
||||
// modified to allow single instance restart
|
||||
namespace Flow.Launcher.Helper
|
||||
{
|
||||
internal enum WM
|
||||
|
|
@ -311,9 +311,9 @@ namespace Flow.Launcher.Helper
|
|||
catch (NotSupportedException)
|
||||
{
|
||||
// The application was clickonce deployed
|
||||
// Clickonce deployed apps cannot recieve traditional commandline arguments
|
||||
// As a workaround commandline arguments can be written to a shared location before
|
||||
// the app is launched and the app can obtain its commandline arguments from the
|
||||
// Clickonce deployed apps cannot recieve traditional command line arguments
|
||||
// As a workaround command line arguments can be written to a shared location before
|
||||
// the app is launched and the app can obtain its command line arguments from the
|
||||
// shared location
|
||||
string appFolderPath = Path.Combine(
|
||||
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), uniqueApplicationName);
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ And you can download [early access version](https://github.com/Flow-Launcher/Pre
|
|||
- Fully portable.
|
||||
- Type `flow user data` to open your saved user settings folder. They are located at:
|
||||
- If using roaming: `%APPDATA%\FlowLauncher`
|
||||
- If using portable, by default: `%localappdata%\FlowLauncher\app-<VersionOfYourFlowLauncher>\UserData`
|
||||
- If using portable, by default: `%LocalAppData%\FlowLauncher\app-<VersionOfYourFlowLauncher>\UserData`
|
||||
- Type `open log location` to open your logs folder, they are saved along with your user settings folder.
|
||||
|
||||
### 🎮 Game Mode
|
||||
|
|
|
|||
Loading…
Reference in a new issue