Greater Rift: two Guardians from level 75, overtime status spelled out (#33); item descriptions stay open on touch (#32); Mac: click monsters to attack, items take the mouse, Share Log
The overtime status (#33) was reported with a clear direction by Joe Hu, who also sent a patch along the same lines (#34). Co-authored-by: Joe Hu <12777592+hubeiqiao@users.noreply.github.com>
This commit is contained in:
+4
-1
@@ -4,12 +4,14 @@
|
||||
# DM_MAC_LINK=1:不带派生物的出法——改写后的游戏程序、着色器库、界面覆盖层都是从游戏内容派生的,公开发布的包不能带;
|
||||
# 这样出的包里只有宿主程序和 Resources/paths.txt(三项各指向本机构建产物的路径),只在构建它的这台机器上能跑。
|
||||
# 版本:给人看的版本号 DM_MAC_VERSION(缺省 1.0,与 iOS 包同叫法);构建号 DM_MAC_BUILD(缺省取当前月日时分,同 iOS 包格式)。产物代号与提交号写在包里的 Resources/build.txt。
|
||||
# 更新检查:DM_MAC_UPDATE_URL=<版本文件地址>(如下载站的 latest_mac.json)写进 Info.plist 的 SWUpdateURL,App 启动后读它、比包内构建号新就在主菜单提示;不给 = 不检查(公开版 / 自己构建的包)。
|
||||
# 游戏资源不进包:第一次启动请玩家选资源文件夹(host/app_mac.m)。签名用本地临时签名,本机直接能跑。
|
||||
# Wrap the Mac host into a macOS App that starts on double-click: mac_app.sh [output directory] produces <output directory>/D2R Mobile.app (default $DM_ROOT/out/macapp)
|
||||
# The package holds: the host program, the rewritten game program (build output directory, kind DM_MAC_PRODUCT, default touch), and the UI overlay when there is one (DM_MAC_OVERLAY=<directory>).
|
||||
# DM_MAC_LINK=1: build without derived content - the rewritten game program, the shader libraries and the UI overlay are all derived from game content and must not be in a publicly released package;
|
||||
# a package built this way holds only the host program and Resources/paths.txt (three entries, each pointing at a build output on this machine), and runs only on the machine that built it.
|
||||
# Version: the human-readable version DM_MAC_VERSION (default 1.0, named the same way as the iOS package); the build number DM_MAC_BUILD (default: current month-day-hour-minute, same format as the iOS package). The build output generation and the commit are written to Resources/build.txt in the package.
|
||||
# Update check: DM_MAC_UPDATE_URL=<version file address> is written into SWUpdateURL in Info.plist; after launch the App reads it and shows a hint on the main menu when it is newer than the build number in the package; not given = no check (public builds / packages you build yourself).
|
||||
# Game resources do not go into the package: on first launch the player is asked to choose the resource folder (host/app_mac.m). Signing is local ad-hoc signing, which runs directly on this machine.
|
||||
set -eu
|
||||
HERE=$(cd "$(dirname "$0")" && pwd); DM=$HERE/..; ROOT=${DM_ROOT:-$HOME/dm-work}
|
||||
@@ -59,7 +61,8 @@ cat > "$APP/Contents/Info.plist" <<PL
|
||||
<key>CFBundleShortVersionString</key><string>$VER</string>
|
||||
<key>CFBundleVersion</key><string>$BUILD</string>
|
||||
<key>LSMinimumSystemVersion</key><string>$MIN</string>
|
||||
<key>NSHighResolutionCapable</key><true/>
|
||||
${DM_MAC_UPDATE_URL:+<key>SWUpdateURL</key><string>$DM_MAC_UPDATE_URL</string>
|
||||
}<key>NSHighResolutionCapable</key><true/>
|
||||
<key>LSApplicationCategoryType</key><string>public.app-category.role-playing-games</string>
|
||||
<key>GCSupportsControllerUserInteraction</key><true/>
|
||||
</dict></plist>
|
||||
|
||||
Reference in New Issue
Block a user