Improved Makefile. Added initial Android support.

This commit is contained in:
2019-06-15 22:54:43 +01:00
parent fe525cb634
commit 01b523d072
6 changed files with 51 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "Architecture.hpp"
#include <iostream>
#include "Storage.hpp"
#include "Controller.hpp"
@@ -46,7 +47,7 @@ int main(int argc, char **argv)
signal(SIGINT, signalCallback);
string privKeyDir = (argc == 2 ? argv[1] : "/usr/share/U2FDevice/");
string privKeyDir = (argc == 2 ? argv[1] : STORAGE_PREFIX);
Storage::init(privKeyDir);