xqcoretools 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/xqcoretools +7 -3
- 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
|
-
|
|
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
|
|