Very simple. The Settings.h tab of your project allows you to define this. In your case you’d set #define BOARD_BUTTON_ACTIVE_LOW
to false
…
#if defined(USE_NODE_MCU_BOARD) || defined(USE_WEMOS_D1_MINI)
#define BOARD_BUTTON_PIN 0 <<<< The FLASH Button
#define BOARD_BUTTON_ACTIVE_LOW true <<<< Pressing the button pulls the pin LOW
#define BOARD_LED_PIN 2 <<<< The LED is connected to GPIO2 (D4)
#define BOARD_LED_INVERSE true <<<< The LED lights when the pin is LOW
#define BOARD_LED_BRIGHTNESS 255 <<<< Make the LED shine at max brightness when lit
More info on the subject here…
Pete.