add convenience launcher
This commit is contained in:
parent
1109852445
commit
62f6a45689
18
editor
Executable file
18
editor
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
DOTNET_VERSION=8.0
|
||||||
|
APP_NAME=MBS.Editor
|
||||||
|
SRC_PATH=editor-dotnet/src/app/$APP_NAME
|
||||||
|
APP_PATH=$SRC_PATH/bin/Debug/net$DOTNET_VERSION
|
||||||
|
RELEASE=0
|
||||||
|
|
||||||
|
if [ ! $RELEASE -eq 1 ] || [ ! -f $APP_PATH/$APP_NAME ]; then
|
||||||
|
|
||||||
|
pushd $SRC_PATH
|
||||||
|
dotnet build
|
||||||
|
popd
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
$APP_PATH/$APP_NAME
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user