add first run setup

This commit is contained in:
zenobit 2023-03-12 17:30:18 +01:00
parent 7a58830c4b
commit 46f4c9b1f0
1 changed files with 15 additions and 0 deletions

15
firstrun.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
source config/distrohopper.conf
# distrohopper first run
CONFIG_DIR="$HOME/.config/distrohopper"
# create default dirs
mkdir -p "$CONFIG_DIR" "$CONFIG_DIR/vms_ready" "$CONFIG_DIR/vms_supported" "$CONFIG_DIR/vms_icons"
# copy icons
cp -r config/vms_icons "$CONFIG_DIR/"
# Install distrohopper to all users
sudo cp quickgui quicktui quickget quickemu /usr/bin/
cp config/distrohopper.conf "$CONFIG_DIR/"