xqcoretools 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/xqcoretools +7 -3
  2. metadata +1 -1
data/bin/xqcoretools CHANGED
@@ -28,9 +28,9 @@ class XQCoreTools < Thor
28
28
 
29
29
  case platform
30
30
  when 'Android'
31
- archive(output, basePath)
31
+ archive(output, basePath + '/Content')
32
32
  when 'iOS', 'IOS'
33
- bundle(output, basePath)
33
+ bundle(output, basePath + '/Content')
34
34
  end
35
35
  end
36
36
 
@@ -215,7 +215,11 @@ class XQCoreTools < Thor
215
215
  end
216
216
 
217
217
  def self.createTemporaryFolder(name)
218
- path = Dir::tmpdir() + "/#{name}"
218
+ time = Time.new
219
+
220
+ unique = time.year.to_s + time.month.to_s + time.day.to_s + time.hour.to_s + time.min.to_s + time.sec.to_s
221
+
222
+ path = Dir::tmpdir() + "/#{name}#{unique}"
219
223
 
220
224
  XQCoreTools::clearFolder(path)
221
225
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xqcoretools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: