-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0efcd59
commit fe3f4ba
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
if [ "$1" == "--tty" ]; then | ||
echo "Are you sure you want to reset the VSO? This will remove all your installed software in the subsystem. [y/N]" | ||
read -r answer | ||
if [ "$answer" == "y" ]; then | ||
podman rm -f apx-vso-pico | ||
blackbox-terminal | ||
fi | ||
else | ||
adwdialog --title "Reset VSO?" \ | ||
--description "Are you sure you want to reset the VSO? This will remove all your installed software in the subsystem." \ | ||
--type "question" \ | ||
--icon "org.vanillaos.VSO" | ||
if [ $? -eq 0 ]; then | ||
podman rm -f apx-vso-pico | ||
blackbox-terminal | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters