wixgem 0.55.0 → 0.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wixgem.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af219a28f6922e60520ec0b081011b5bfc5c173d
|
4
|
+
data.tar.gz: 04503324809fdc8bde84fa65544bc5351f32b01b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ee9a70a85e2479d5531dfd8ab896802ddcd933153da25eb484397e0ca664309884762379e2d1514af6b206fc35d858de82f2e4150e90dc1d692259b36c2c206
|
7
|
+
data.tar.gz: 17ccc7ec479ad1638710e906ebd77f8cc90d893716e6e8e5362b9b8d57731576afe681d55661620c3f20d92a5e6859f79ff3c800bde5d428bd519b54c12edf59
|
data/lib/wixgem.rb
CHANGED
@@ -137,7 +137,7 @@ class Wix
|
|
137
137
|
absolute_path = "#{input[:original_pwd]}/#{file}" unless(File.exists?(file))
|
138
138
|
|
139
139
|
if(File.read_only?(absolute_path))
|
140
|
-
|
140
|
+
install_path = ".\\#{self.modify_file_path(input, file).gsub(/\//,'\\')}"
|
141
141
|
install_path = install_path.gsub(/\.\\\\/,'.\\')
|
142
142
|
file_elements = REXML::XPath.match(xml_doc, "//File[@Source='#{install_path}']")
|
143
143
|
file_elements[0].attributes['ReadOnly'] = 'yes' if(file_elements.length == 1)
|