-
Notifications
You must be signed in to change notification settings - Fork 38
/
Makefile
22 lines (20 loc) · 1.29 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SHELL := bash
install:
@printf "\e[1;34m>>>\e[0m ChatGPT Gnome Desktop Extension\n"
@printf "\e[1;34m>>>\e[0m The following commands that will be executed to install the extension:\n"
@printf "\n"
@printf "mkdir -p ~/.local/share/gnome-shell/extensions/\n"
@printf "cp -r ./chatgpt-gnome-desktop@chatgpt-gnome-desktop ~/.local/share/gnome-shell/extensions/\n"
@printf "\n"
@read -p ">>> Press ENTER to install the extension."
@mkdir -p ~/.local/share/gnome-shell/extensions/
@cp -r ./chatgpt-gnome-desktop@chatgpt-gnome-desktop ~/.local/share/gnome-shell/extensions/
@printf "\e[1;34m>>>\e[0m The app is now installed, You may log out or press Alt+F2 and then type r to complete the install.\n"
uninstall:
@printf "\e[1;34m>>>\e[0m ChatGPT Gnome Desktop Extension\n"
@printf "\e[1;34m>>>\e[0m The following commands that will be executed to uninstall the extension:\n"
@printf "rm -rf ~/.local/share/gnome-shell/extensions/chatgpt-gnome-desktop@chatgpt-gnome-desktop"
@printf "\n"
@read -p ">>> Press ENTER to uninstall the extension."
@rm -rf ~/.local/share/gnome-shell/extensions/chatgpt-gnome-desktop@chatgpt-gnome-desktop
@printf "\e[1;34m>>>\e[0m The extension is now uninstalled, You may log out or press Alt+F2 and then type r to complete the uninstall. Thanks for testing the extension. \n"