mirror of
https://github.com/greenshot/greenshot
synced 2025-08-15 19:27:02 -07:00
BUG-2089: Fixed a problem when the hotkey registration fails and OneDrive is not installed.
This commit is contained in:
parent
4de8d0f8aa
commit
9a7b95e93d
2 changed files with 5 additions and 1 deletions
|
@ -616,7 +616,10 @@ namespace Greenshot {
|
|||
}
|
||||
var localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
|
||||
var oneDriveSettingsPath = Path.Combine(localAppData, @"Microsoft\OneDrive\settings\Personal");
|
||||
|
||||
if (!Directory.Exists(oneDriveSettingsPath))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
var oneDriveSettingsFile = Directory.GetFiles(oneDriveSettingsPath, "*_screenshot.dat").FirstOrDefault();
|
||||
if (!File.Exists(oneDriveSettingsFile))
|
||||
{
|
||||
|
|
|
@ -12,6 +12,7 @@ All details to our tickets can be found here: https://greenshot.atlassian.net
|
|||
* BUG-2065 Overflow Error
|
||||
* BUG-2079 Problem with authentication in JIRA plugin
|
||||
* BUG-2080 Exception when opening the context menu
|
||||
* BUG-2089 Greenshot crashes when hotkey registration fails and OneDrive is not installed
|
||||
* FEATURE-992 Open Greenshot in foreground
|
||||
* FEATURE-995 Setting to paste new images inside greenshot based on cursor location
|
||||
* FEATURE-998 Open Last Capture File should select/jump to the file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue