fix install
This commit is contained in:
10
Run.sh
10
Run.sh
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user