From 83df0b3b58f2a8b281add139c4b82ed2ffcf3aea Mon Sep 17 00:00:00 2001 From: Jeremy Wu Date: Fri, 6 Mar 2020 23:46:30 +1100 Subject: [PATCH] Remove unnecessary method implementation Should be handled somewhere else --- Wox.Core/Configuration/IPortable.cs | 3 +-- Wox.Core/Configuration/Portable.cs | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Wox.Core/Configuration/IPortable.cs b/Wox.Core/Configuration/IPortable.cs index 069b6fb5b..b0af43672 100644 --- a/Wox.Core/Configuration/IPortable.cs +++ b/Wox.Core/Configuration/IPortable.cs @@ -1,4 +1,4 @@ - + namespace Wox.Core.Configuration { public interface IPortable @@ -9,7 +9,6 @@ namespace Wox.Core.Configuration void RemoveUninstallerEntry(); void CreateShortcuts(); void CreateUninstallerEntry(); - bool IsPortableModeEnabled(); void MoveUserDataFolder(string fromLocation, string toLocation); void VerifyUserDataAfterMove(string fromLocation, string toLocation); bool CanUpdatePortability(); diff --git a/Wox.Core/Configuration/Portable.cs b/Wox.Core/Configuration/Portable.cs index 888941824..e24977455 100644 --- a/Wox.Core/Configuration/Portable.cs +++ b/Wox.Core/Configuration/Portable.cs @@ -79,11 +79,6 @@ namespace Wox.Core.Configuration } } - public bool IsPortableModeEnabled() - { - throw new NotImplementedException(); - } - public void RemoveShortcuts() { var exeName = Constant.Wox + ".exe";