From 46f4c9b1f07cfc6d37223e44dfa74cbe3458b378 Mon Sep 17 00:00:00 2001 From: zenobit Date: Sun, 12 Mar 2023 17:30:18 +0100 Subject: [PATCH] add first run setup --- firstrun.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 firstrun.sh diff --git a/firstrun.sh b/firstrun.sh new file mode 100755 index 0000000..9b7a0aa --- /dev/null +++ b/firstrun.sh @@ -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/"