Follow this to set up a development environment.
Clone the switch
branch of the LovePotion git repo.
git clone -b switch https://github.com/TurtleP/LovePotion.git
Move into the LovePotion
directory.
cd LovePotion
Compile the code.
make
Copy LovePotion.nro
to the sdmc:/switch/LovePotion
folder on your switch. You will also need a sdmc:/switch/LovePotion/game
directory with main.lua
and a conf.lua
with the proper code to enable console.