From 737e1f126b8826ed02418266e590e195aebdd7c0 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 18 Nov 2019 00:58:22 +0100 Subject: Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531) --- src/Main/TextUserInterface.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Main/TextUserInterface.h b/src/Main/TextUserInterface.h index 78874b8c..95db02d7 100644 --- a/src/Main/TextUserInterface.h +++ b/src/Main/TextUserInterface.h @@ -47,9 +47,7 @@ namespace VeraCrypt virtual void ExportSecurityTokenKeyfile () const; virtual shared_ptr GetAdminPasswordRequestHandler (); virtual void ImportSecurityTokenKeyfiles () const; -#ifndef TC_NO_GUI virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); } -#endif virtual void InitSecurityTokenLibrary () const; virtual void ListSecurityTokenKeyfiles () const; virtual VolumeInfoList MountAllDeviceHostedVolumes (MountOptions &options) const; -- cgit v1.2.3