Pi66

pino
Python notification daemon.
git clone https://git.pi66.xyz/pino

← back to log

Update install

author: pixel2175
date: 2024-12-23 17:12
hash: 1bfba8a24adbf1c9f5df51fac5a99075d58983ec

Diffstat:

M

install.py
3 ++++++++++++++++++++----------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
diff --git a/install.py b/install.py
index 33dead7..e657a61 100644
--- a/install.py
+++ b/install.py
@@ -116,8 +116,9 @@ def copy_file():
         os.system("mkdir -p ~/.config/pino/plugs/ > /dev/null 2>&1")
         os.system("cp ./plugs/* ~/.config/pino/plugs > /dev/null 2>&1")
         os.system(
-            "sudo cp ./src/config.json ./src/notification.mp3 /etc/pino/ > /dev/null 2>&1"
+            "sudo cp ./src/config.json ./src/notification.wav /etc/pino/ > /dev/null 2>&1"
         )
+        os.system("cp /etc/pino/* ~/.config/pino/")
         print("\n[*]- Done")
     except OSError as e:
         print("Creating config files failed\ncheck config_error.txt for more info")