dev 2.1.143 → 2.1.144
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apps/wix.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03a015f1dfd735d6ae989cadf2d83026be51b565e681b38df1f6381366a522e3
|
4
|
+
data.tar.gz: d1bf73bfdddd0c2e0447e6911d3f8a3acf1c2037020a1d41de63962f41f29263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9ea4398bcef8beef1ede7a56e9f77f75237fc4dc66ab855f407c21e9efb763cadc5f3044c6f1751a62efcdc5dec814651e519ab309b6eaad0276d66200ce77a
|
7
|
+
data.tar.gz: 3f6e08582ed9535009f74a7dc8e54ec6f27c6023d2d632af3f4fbab2299d6b2d7573187504c659ec6e1d6184d7408371ea01e03bc7a3014c59fa9b9ba8cc3009
|
data/lib/apps/wix.rb
CHANGED
@@ -37,12 +37,13 @@ class Wix
|
|
37
37
|
def self.get_wix_with_files wxs_template_text, component_id, filenames
|
38
38
|
# <Component[-\s\w="]+Id="ApplicationFiles"[-"\s\w=]+>([-<="\/.>\s\w]+)<\/C
|
39
39
|
search=wxs_template_text.scan(/<Component[-\s\w="]+Id="ApplicationFiles"[-"\s\w=]+>([-<="\/.>\s\w]+)<\/C/)[0][0]
|
40
|
-
replace="
|
40
|
+
replace=""
|
41
41
|
index = 0
|
42
42
|
filenames.each{|f|
|
43
|
-
replace += "\
|
43
|
+
replace += "\n <File Id=\"#{component_id}#{index}\" Source=\"#{f}\"/>"
|
44
44
|
index += 1
|
45
45
|
}
|
46
|
+
replace += "\n"
|
46
47
|
wxs_template_text.gsub(search,replace)
|
47
48
|
end
|
48
49
|
|