We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3653536 + 6fac985 commit f0eff8cCopy full SHA for f0eff8c
1 file changed
win/create_manifest.js
@@ -31,7 +31,17 @@ try
31
var end= supp_version.indexOf("-");
32
if (end == -1) end= supp_version.length;
33
var app_version= supp_version.substring(0, end);
34
- app_version+= ".0";
+ var fourth_element= 0;
35
+ if(app_version.match(/[a-z]$/)) {
36
+ fourth_element+= (1 + app_version.charCodeAt(end-1) - "a".charCodeAt(0));
37
+ app_version= app_version.substring(0,--end);
38
+ }
39
+ if(app_version.match(/sp[1-9]$/)) {
40
+ fourth_element+= 100*(app_version.charCodeAt(end-1) - "0".charCodeAt(0));
41
+ app_version= app_version.substring(0, end-3);
42
+ end-= 3;
43
44
+ app_version+= "." + fourth_element;
45
break;
46
case "arch":
47
var app_arch= parts[1];
0 commit comments