Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YGOPRO-520DIY
ygopro
Commits
57ec4313
Commit
57ec4313
authored
Apr 16, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'server' of
https://github.com/IamIpanda/ygopro
into server
parents
58f75fdd
bb38fb2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
README.md
README.md
+14
-0
gframe/gframe.cpp
gframe/gframe.cpp
+1
-1
No files found.
README.md
View file @
57ec4313
...
...
@@ -24,6 +24,20 @@
*
sqlite3
*
可参考本项目
[
appveyor.yml
](
https://github.com/mycard/ygopro/blob/server/appveyor.yml
)
中的脚本
### MacOS下编译
*
需要以下组件或工具
*
clang
*
premake5
*
libevent
*
lua5.3
*
sqlite3
*
参考步骤
*
安装libevent sqlite3
*
编译premake5
*
wget https://www.lua.org/ftp/lua-5.4.3.tar.gz && tar xf lua-5.4.3.tar.gz && mv lua-5.4.3 lua && cp premake/lua/
*
lua/
*
./premake5 gmake --cc=clang
*
cd build && make config=release
### 运行
*
使用
[
ygopro-server
](
https://github.com/mycard/ygopro-server
)
运行
*
手动运行的参数是
...
...
gframe/gframe.cpp
View file @
57ec4313
...
...
@@ -27,7 +27,7 @@ int main(int argc, char* argv[]) {
#ifndef _WIN32
setlocale
(
LC_CTYPE
,
"UTF-8"
);
#endif
#if
def __APPLE__
#if
defined __APPLE__ && !defined YGOPRO_SERVER_MODE
CFURLRef
bundle_url
=
CFBundleCopyBundleURL
(
CFBundleGetMainBundle
());
CFURLRef
bundle_base_url
=
CFURLCreateCopyDeletingLastPathComponent
(
NULL
,
bundle_url
);
CFRelease
(
bundle_url
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment