Skip to content

Commit 8178794

Browse files
committed
check for Outlook, 4.12.1
1 parent ae720b8 commit 8178794

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

OneMore/Commands/Reminders/ImportOutlookTasksCommand.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public ImportOutlookTasksCommand()
4848

4949
public override async Task Execute(params object[] args)
5050
{
51+
if (!Office.IsInstalled("Outlook"))
52+
{
53+
UIHelper.ShowInfo("Outlook must be installed to use this command");
54+
return;
55+
}
56+
5157
IEnumerable<OutlookTask> tasks = null;
5258

5359
if (args.Length > 1 && args[0] is string refreshArg && refreshArg == "refresh")

OneMore/Properties/AssemblyInfo.cs

4 Bytes
Binary file not shown.
Binary file not shown.

OneMoreSetup/OneMoreSetup.vdproj

4 Bytes
Binary file not shown.
4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)