Introduce chkgfx #3
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
|
|
||||||
|
|
||||||
T=$SDIR/step
|
|
||||||
source $SDIR/paths
|
|
||||||
|
|
||||||
STEP=0
|
|
||||||
source $T/generateDialect game
|
|
||||||
source $T/buildMac game
|
|
||||||
#source $T/packageMac game
|
|
||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
SDIR=$(cd "$(dirname "$0")" ; pwd -P)
|
||||||
|
|
||||||
|
T=$SDIR/step
|
||||||
|
source $SDIR/paths
|
||||||
|
|
||||||
|
TARGET=ogs-mahjong
|
||||||
|
|
||||||
|
STEP=0
|
||||||
|
source $T/generateDialect $TARGET
|
||||||
|
source $T/buildMac $TARGET
|
||||||
|
source $T/packageMac $TARGET "OGS Mahjong"
|
||||||
@@ -1 +0,0 @@
|
|||||||
APP_MAC="$SDIR/../game/ver-mac/.build/OGS Mahjong.app"
|
|
||||||
+1
-1
@@ -5,4 +5,4 @@ T=$SDIR/step
|
|||||||
source $SDIR/paths
|
source $SDIR/paths
|
||||||
|
|
||||||
STEP=0
|
STEP=0
|
||||||
source $T/runMac
|
source $T/runMac ogs-mahjong "OGS Mahjong"
|
||||||
+9
-10
@@ -1,18 +1,17 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
STEP=$((STEP+1))
|
TARGET=$1
|
||||||
echo -e "\n> > > > Step №$STEP. Make an app package for macOS"
|
APP_NAME=$2
|
||||||
|
|
||||||
|
STEP=$((STEP+1))
|
||||||
|
echo -e "\n> > > > Step №$STEP. Make '$APP_NAME' macOS package for '$TARGET'"
|
||||||
|
|
||||||
|
APP_MAC="$SDIR/../$TARGET/ver-mac/.build/$APP_NAME.app"
|
||||||
rm -rf "$APP_MAC"
|
rm -rf "$APP_MAC"
|
||||||
|
|
||||||
APP_DAT="$APP_MAC/Contents"
|
APP_DAT="$APP_MAC/Contents"
|
||||||
|
|
||||||
mkdir -p "$APP_DAT/MacOS"
|
mkdir -p "$APP_DAT/MacOS"
|
||||||
mkdir -p "$APP_DAT/Resources"
|
mkdir -p "$APP_DAT/Resources"
|
||||||
|
cp "$SDIR/../$TARGET/ver-mac/.build/debug/$TARGET" "$APP_DAT/MacOS/$TARGET"
|
||||||
cp "$SDIR/../game/ver-mac/.build/debug/ogs-mahjong" "$APP_DAT/MacOS/ogs-mahjong"
|
cp "$SDIR/../$TARGET/ver-mac/Info.plist" "$APP_DAT/Info.plist"
|
||||||
cp "$SDIR/../game/ver-mac/Info.plist" "$APP_DAT/Info.plist"
|
cp -R "$SDIR/../$TARGET/ver-mac/res/." "$APP_DAT/Resources/"
|
||||||
|
|
||||||
# App resources (icons + glTF assets) live in the repo-level res/ directory,
|
|
||||||
# symlinked as game/ver-mac/res.
|
|
||||||
cp -R "$SDIR/../game/ver-mac/res/." "$APP_DAT/Resources/"
|
|
||||||
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
TARGET=$1
|
||||||
|
APP_NAME=$2
|
||||||
STEP=$((STEP+1))
|
STEP=$((STEP+1))
|
||||||
echo -e "\n> > > > Step №$STEP. Run macOS app"
|
echo -e "\n> > > > Step №$STEP. Run macOS app for '$TARGET'"
|
||||||
|
|
||||||
"$APP_MAC/Contents/MacOS/ogs-mahjong"
|
"$SDIR/../$TARGET/ver-mac/.build/$APP_NAME.app/Contents/MacOS/$TARGET"
|
||||||
Reference in new issue
Block a user