mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
feat: Allow for easier switching between versions (#1398)
When the VERSION variable is changed, it will now automaticly clean the /storage folder instead of warning the user to manually do it.
This commit is contained in:
parent
05330ff64c
commit
2239792fa9
2 changed files with 53 additions and 35 deletions
|
|
@ -23,7 +23,7 @@ parseVersion() {
|
|||
if [[ "${VERSION}" == \"*\" || "${VERSION}" == \'*\' ]]; then
|
||||
VERSION="${VERSION:1:-1}"
|
||||
fi
|
||||
|
||||
|
||||
VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$")
|
||||
[ -z "$VERSION" ] && VERSION="win11"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue