Commit bf1cafa6 authored by 神楽坂玲奈's avatar 神楽坂玲奈

0.7.0

parent 68841d6b
......@@ -20,7 +20,7 @@ end
spec = Gem::Specification.new do |s|
s.name = 'mycard'
s.version = '0.6.9'
s.version = '0.7.0'
s.extra_rdoc_files = ['README.txt', 'LICENSE.txt']
s.summary = 'a card game'
s.description = s.summary
......
......@@ -2,7 +2,7 @@ require 'open-uri'
require "fileutils"
require_relative 'card'
module Update
Version = '0.6.9'
Version = '0.7.0'
URL = "http://card.touhou.cc/mycard/update.json?version=#{Version}"
class <<self
attr_reader :thumbnails, :images, :status
......
......@@ -112,7 +112,7 @@ class Window_Deck < Window
when Array
case index[1]
when :edit
Ygocore.run_ygocore(@items[index[0]])
Ygocore.run_ygocore(File.basename(@items[index[0]], ".ydk"))
when :delete
require_relative 'widget_msgbox'
Widget_Msgbox.new("删除卡组", "确定要删除卡组 #{File.basename(@items[index[0]], '.ydk')} 吗", buttons={ok: "确定", cancel: "取消"}) do |clicked|
......
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