From 6f2a9ccf06e28c28a9f1a4b3abbab816f569ffc6 Mon Sep 17 00:00:00 2001 From: JoYo <> Date: Fri, 7 Jun 2024 19:10:13 -0400 Subject: [PATCH] added makefile command to install on steamos --- Makefile | 6 ++++++ banana.service | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a7f0c50..7461768 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,9 @@ run: install: GOBIN=~/.local/bin/ go install banana.go + +install-steamos: banana.elf + cp banana.elf /usr/bin/banana + cp banana.timer banana.service /etc/systemd/system/ + systemctl enable banana.timer + systemctl enable banana.service diff --git a/banana.service b/banana.service index d53d735..4249a40 100644 --- a/banana.service +++ b/banana.service @@ -4,7 +4,7 @@ Wants=banana.timer [Service] Type=oneshot -ExecStart=/home/deck/.local/bin/banana.elf +ExecStart=/usr/bin/banana User=deck [Install]