diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt index 01994ec78..78b16e430 100644 --- a/.github/actions/spelling/allow.txt +++ b/.github/actions/spelling/allow.txt @@ -6,4 +6,17 @@ runcount nunit velopack vpk -vsc \ No newline at end of file +vsc +appveyor +appwrite +IME +hotkey +prioritise +runas +softpedia +sourcelink +TRAYMOUSEMESSAGE +uninstaller +vkcode +winget +workaround \ No newline at end of file diff --git a/Flow.Launcher.Core/Configuration/Portable.cs b/Flow.Launcher.Core/Configuration/Portable.cs index f46701b75..631e94845 100644 --- a/Flow.Launcher.Core/Configuration/Portable.cs +++ b/Flow.Launcher.Core/Configuration/Portable.cs @@ -100,7 +100,7 @@ namespace Flow.Launcher.Core.Configuration var portableDataDeleteFilePath = Path.Combine(portableDataDir, DataLocation.DeletionIndicatorFile); var roamingDataDeleteFilePath = Path.Combine(roamingDataDir, DataLocation.DeletionIndicatorFile); - // If the data folder in %appdata% is marked for deletion, + // If the data folder in %AppData% is marked for deletion, // delete it and prompt the user to pick the portable data location if (File.Exists(roamingDataDeleteFilePath)) { diff --git a/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs b/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs index 2fa0a0975..39ad6304c 100644 --- a/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs +++ b/Flow.Launcher.Plugin/SharedCommands/FilesFolders.cs @@ -71,8 +71,8 @@ namespace Flow.Launcher.Plugin.SharedCommands // Recursively copy subdirectories by calling itself on each subdirectory until there are no more to copy 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) diff --git a/Flow.Launcher/App.xaml.cs b/Flow.Launcher/App.xaml.cs index 99b575d05..d08a4bf2e 100644 --- a/Flow.Launcher/App.xaml.cs +++ b/Flow.Launcher/App.xaml.cs @@ -184,8 +184,8 @@ namespace Flow.Launcher public void Dispose() { - // if sessionending is called, exit proverbially be called when log off / shutdown - // but if sessionending is not called, exit won't be called when log off / shutdown + // if session-ending is called, exit proverbially be called when log off / shutdown + // but if session-ending is not called, exit won't be called when log off / shutdown if (!_disposed) { API.SaveAppAllSettings(); diff --git a/Flow.Launcher/Helper/SingleInstance.cs b/Flow.Launcher/Helper/SingleInstance.cs index a516bfee0..9d077fa82 100644 --- a/Flow.Launcher/Helper/SingleInstance.cs +++ b/Flow.Launcher/Helper/SingleInstance.cs @@ -311,7 +311,7 @@ namespace Flow.Launcher.Helper catch (NotSupportedException) { // The application was clickonce deployed - // Clickonce deployed apps cannot recieve traditional command line arguments + // Clickonce deployed apps cannot receive 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 diff --git a/Flow.Launcher/PublicAPIInstance.cs b/Flow.Launcher/PublicAPIInstance.cs index 6d5d4e1ba..6b327b2be 100644 --- a/Flow.Launcher/PublicAPIInstance.cs +++ b/Flow.Launcher/PublicAPIInstance.cs @@ -315,12 +315,12 @@ namespace Flow.Launcher #region Private Methods - private bool KListener_hookedKeyboardCallback(KeyEvent keyevent, int vkcode, SpecialKeyState state) + private bool KListener_hookedKeyboardCallback(KeyEvent keyEvent, int vkCode, SpecialKeyState state) { var continueHook = true; foreach (var x in _globalKeyboardHandlers) { - continueHook &= x((int)keyevent, vkcode, state); + continueHook &= x((int)keyEvent, vkCode, state); } return continueHook;