mirror of
https://github.com/MiaPepsi/DeckCleaner.git
synced 2026-06-13 03:15:01 +03:00
Add files via upload
version 1.1 changes -dialog box now reads the size of your shadercache folder and displays it for the user
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# this script will clear the shadercash folder from your steamdeck
|
||||||
|
|
||||||
|
shadersize=$(du -sh /home/deck/.steam/steam/steamapps/shadercache)
|
||||||
|
|
||||||
|
if zenity --question --title="Confirm deletion" --text="shadercache size: $shadersize \n\n do you wish to clear this data?" --no-wrap
|
||||||
|
then
|
||||||
|
rm -r /home/deck/.steam/steam/steamapps/shadercache
|
||||||
|
zenity --info --title="Success" --text="shadercache folder was sucessfully deleted" --no-wrap
|
||||||
|
else
|
||||||
|
zenity --info --title="no content deleted" --text="The shadercache folder was not deleted" --no-wrap
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user