Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
xiaoye
mycard
Commits
07e46f49
Commit
07e46f49
authored
Apr 30, 2012
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换ygo0x1027主程序文件名
parent
eb6c27b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/ygocore/game.rb
lib/ygocore/game.rb
+3
-3
No files found.
lib/ygocore/game.rb
View file @
07e46f49
...
@@ -66,7 +66,7 @@ class Ygocore < Game
...
@@ -66,7 +66,7 @@ class Ygocore < Game
@recv
=
nil
@recv
=
nil
end
end
def
ygocore_path
def
ygocore_path
"ygocore/
gframe
.exe"
"ygocore/
ygopro_vs
.exe"
end
end
def
self
.
register
def
self
.
register
Dialog
.
web
@@config
[
'register'
]
Dialog
.
web
@@config
[
'register'
]
...
@@ -81,7 +81,7 @@ class Ygocore < Game
...
@@ -81,7 +81,7 @@ class Ygocore < Game
if
!
image_downloading
and
!
Update
.
images
.
empty?
if
!
image_downloading
and
!
Update
.
images
.
empty?
return
Widget_Msgbox
.
new
(
"加入房间"
,
"卡图正在下载中,可能显示不出部分卡图"
,
:ok
=>
"确定"
){
run_ygocore
(
option
,
true
)}
return
Widget_Msgbox
.
new
(
"加入房间"
,
"卡图正在下载中,可能显示不出部分卡图"
,
:ok
=>
"确定"
){
run_ygocore
(
option
,
true
)}
end
end
path
=
'ygocore/
gframe
.exe'
path
=
'ygocore/
ygopro_vs
.exe'
Widget_Msgbox
.
new
(
"ygocore"
,
"正在启动ygocore"
)
Widget_Msgbox
.
new
(
"ygocore"
,
"正在启动ygocore"
)
#写入配置文件并运行ygocore
#写入配置文件并运行ygocore
Dir
.
chdir
(
File
.
dirname
(
path
))
do
Dir
.
chdir
(
File
.
dirname
(
path
))
do
...
@@ -125,7 +125,7 @@ class Ygocore < Game
...
@@ -125,7 +125,7 @@ class Ygocore < Game
args
=
'-d'
args
=
'-d'
end
end
$log
.
info
(
'ygocore参数'
)
{
args
}
$log
.
info
(
'ygocore参数'
)
{
args
}
IO
.
popen
(
"
gframe
.exe
#{
args
}
"
)
IO
.
popen
(
"
ygopro_vs
.exe
#{
args
}
"
)
WM
.
iconify
WM
.
iconify
end
end
Widget_Msgbox
.
destroy
Widget_Msgbox
.
destroy
...
...
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