Sha256: abf146d419eeeaa4053c53025da5ef58022e32e03e56f92f821da477d162b7af

Contents?: true

Size: 797 Bytes

Versions: 3

Compression:

Stored size: 797 Bytes

Contents

# # coding: utf-8
# module Fir
#   class Cli
#     def self.resign_options
#       option :resign_type,
#              :desc => '选择使用哪种方式进行重签名,默认使用 tapbeta'
#       resign_tapbeta_options
#       resign_local_options
#     end
#     desc 'resign ORIGINAL_IPA OUTPUT_IPA [--resign-type=codesign]', '使用指定类型的签名方式'
#     resign_options
#     output_options
#     def resign(ipath, opath)
#       if !options[:resign_type]
#         resign_tapbeta ipath, opath
#       else
#         begin
#           method("resign_#{options[:resign_type]}".to_sym).call ipath, opath
#         rescue NameError => e
#           _puts "! #{Paint["没有 resign_#{options[:resign_type]} 的重签名方式"]}"
#         end
#       end
#     end
#   end
# end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fir-cli-0.2.3.1 lib/fir-cli-commands/101-resign.rb
fir-cli-0.2.3 lib/fir-cli-commands/101-resign.rb
fir-cli-0.2.2 lib/fir-cli-commands/101-resign.rb