Makefile 1.2 KB

1234567891011121314151617181920212223
  1. install:
  2. @printf "\e[1;34m>>>\e[0m ChatGPT Gnome Desktop Extension\n"
  3. @printf "\e[1;34m>>>\e[0m The following commands that will be executed to install the app:\n"
  4. @printf "\n"
  5. @printf "mkdir -p ~/.local/share/gnome-shell/extensions/\n"
  6. @printf "cp -r ./chatgpt-gnome-desktop@chat-gpt-gnome-desktop ~/.local/share/gnome-shell/extensions/\n"
  7. @printf "\n"
  8. @read -p ">>> Press ENTER to install the app."
  9. @mkdir -p ~/.local/share/gnome-shell/extensions/
  10. @cp -r ./chatgpt-gnome-desktop@chat-gpt-gnome-desktop ~/.local/share/gnome-shell/extensions/
  11. @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"
  12. uninstall:
  13. @printf "\e[1;34m>>>\e[0m ChatGPT Gnome Desktop Extension\n"
  14. @printf "\e[1;34m>>>\e[0m The following commands that will be executed to uninstall the app:\n"
  15. @printf "rm -rf ~/.local/share/gnome-shell/extensions/chatgpt-gnome-desktop@chat-gpt-gnome-desktop"
  16. @printf "\n"
  17. @read -p ">>> Press ENTER to uninstall the app."
  18. @rm -rf ~/.local/share/gnome-shell/extensions/chatgpt-gnome-desktop@chat-gpt-gnome-desktop
  19. @printf "\e[1;34m>>>\e[0m The app is now uninstalled, You may log out or press Alt+F2 to complete the install. Thanks for using the app. \n"