added makefile command to install on steamos

master
JoYo 2024-06-07 19:10:13 -04:00
parent d25d6d1f78
commit 6f2a9ccf06
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -4,7 +4,7 @@ Wants=banana.timer
[Service]
Type=oneshot
ExecStart=/home/deck/.local/bin/banana.elf
ExecStart=/usr/bin/banana
User=deck
[Install]