Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN git clone --branch=server --recursive --depth=1 https://github.com/moecube/y
strip ygopro && \
mkdir replay expansions && \
rm -rf .git* bin obj build ocgcore cmake lua premake* sound textures .travis.yml *.txt appveyor.yml LICENSE README.md *.lua strings.conf system.conf && \
ls gframe | sed '/game.cpp/d' | xargs -I {} rm -rf gframe/{}
ls gframe | sed '/config.h/d' | xargs -I {} rm -rf gframe/{}

# infos
WORKDIR /ygopro-server
Expand Down
2 changes: 1 addition & 1 deletion ygopro-server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ setInterval ()->
, 500

try
cppversion = parseInt(fs.readFileSync('ygopro/gframe/game.cpp', 'utf8').match(/PRO_VERSION\s?=\s?([x\dABCDEF]+)/)[1], '16')
cppversion = parseInt(fs.readFileSync('ygopro/gframe/config.h', 'utf8').match(/PRO_VERSION\s?=\s?([x\dABCDEF]+)/)[1], '16')
setting_change(settings, "version", cppversion)
log.info "ygopro version 0x"+settings.version.toString(16), "(from source code)"
catch
Expand Down
2 changes: 1 addition & 1 deletion ygopro-server.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.