Commit 07e46f49 authored by 神楽坂玲奈's avatar 神楽坂玲奈

更换ygo0x1027主程序文件名

parent eb6c27b3
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment