Skip to content

Commit

Permalink
参数转字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoque committed Oct 30, 2019
1 parent 68a7368 commit e03fdef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions nomysql/signIpa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@


#开发者帐号
username = ARGV[0];
username = ARGV[0].to_s;
#用户duid
uuid = ARGV[1];
uuid = ARGV[1].to_s;
#打包文件
inFile = ARGV[2];
inFile = ARGV[2].to_s;
#包名
bundleId = ARGV[3];
certificateId = ARGV[4];
bundleId = ARGV[3].to_s;
certificateId = ARGV[4].to_s;

#相对路径
mobileProvision = ARGV[5];
certificatePem = ARGV[6];
keyPem = ARGV[7];
mobileProvision = ARGV[5].to_s;
certificatePem = ARGV[6].to_s;
keyPem = ARGV[7].to_s;

gid = 0;
gameName = bundleId;
Expand Down
12 changes: 6 additions & 6 deletions signIpa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
# 否则重新签名后也无法使用


inFile = ARGV[0];
uid = ARGV[1];
uuid = ARGV[2];
gid = ARGV[3];
gameName = ARGV[4];
bundleId = ARGV[5];
inFile = ARGV[0].to_s;
uid = ARGV[1].to_s;
uuid = ARGV[2].to_s;
gid = ARGV[3].to_s;
gameName = ARGV[4].to_s;
bundleId = ARGV[5].to_s;

#加入打包日志
cTime = Time.now
Expand Down

0 comments on commit e03fdef

Please sign in to comment.