diff --git a/components/render/renderConst.swift b/components/render/renderConst.swift index d8058cc..787b0c5 100644 --- a/components/render/renderConst.swift +++ b/components/render/renderConst.swift @@ -11,7 +11,7 @@ let RENDER_CONFIG = raybri_config( let RENDER_FPS = 60.0 -let RENDER_MODEL_CUBE = "/assets/cube.gltf" +let RENDER_MODEL_CUBE = "/cube/cube.gltf" let RENDER_OPENGL_ATTRS: [NSOpenGLPixelFormatAttribute] = [ UInt32(NSOpenGLPFAOpenGLProfile), UInt32(NSOpenGLProfileVersion3_2Core), diff --git a/util/step/packageMac b/util/step/packageMac index 87ee9ca..43f8340 100755 --- a/util/step/packageMac +++ b/util/step/packageMac @@ -12,7 +12,7 @@ mkdir -p "$APP_DAT/Resources" cp "$SDIR/../game/ver-mac/.build/debug/ogs-mahjong" "$APP_DAT/MacOS/ogs-mahjong" cp "$SDIR/../game/ver-mac/Info.plist" "$APP_DAT/Info.plist" -cp "$SDIR/../game/ver-mac/Resources/AppIcon.icns" "$APP_DAT/Resources/AppIcon.icns" -mkdir -p "$APP_DAT/Resources/assets" -cp "$SDIR/../game/ver-mac/Resources/assets/"* "$APP_DAT/Resources/assets/" +# 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/"