mirror of
https://github.com/tcsenpai/hmacrypt.git
synced 2025-06-02 17:10:06 +00:00
18 lines
485 B
Bash
Executable File
18 lines
485 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "> Creating a new conda environment..."
|
|
conda env create -f environment.yml -p ./hmacenv
|
|
|
|
# Asking for user input
|
|
echo "> Do you want to enroll your device now? (y/N)"
|
|
read enroll
|
|
if [ "$enroll" = "Y" ] || [ "$enroll" = "y" ]; then
|
|
echo "> Enrolling your device..."
|
|
cd src/bins || exit
|
|
./first_run
|
|
else
|
|
echo "> Skipping enrollment..."
|
|
echo "> To (re)enroll your device later, run the following command:"
|
|
echo "> cd src/bins && ./first_run"
|
|
fi
|