fix install

This commit is contained in:
2022-06-10 21:20:55 +02:00
parent 9aec2a7c1b
commit a84d3e0369

10
Run.sh
View File

@@ -40,14 +40,22 @@ function install() {
}
function enable() {
UNUFile=$(find $OUTPUT_DIR/System -type f -name "UN*.u" -exec basename {} \;)
UNBaseName="${UNUFile%.*}"
add_ServerPackage $UNBaseName
add_ServerActors $UNBaseName.NewNetServer
echo enable ok
}
function disable() {
UNUFile=$(find $OUTPUT_DIR/System -type f -name "UN*.u" -exec basename {} \;)
UNBaseName="${UNUFile%.*}"
del_ServerPackage $UNBaseName
del_ServerActors $UNBaseName.NewNetServer
echo disable ok
}