@@ -68,6 +68,7 @@ public class AppBundlerTask extends Task {
68
68
private File icon = null ;
69
69
70
70
private String shortVersion = "1.0" ;
71
+ private String version = "1" ;
71
72
private String signature = "????" ;
72
73
private String copyright = "" ;
73
74
@@ -120,6 +121,10 @@ public void setShortVersion(String shortVersion) {
120
121
this .shortVersion = shortVersion ;
121
122
}
122
123
124
+ public void setVersion (String version ) {
125
+ this .version = version ;
126
+ }
127
+
123
128
public void setSignature (String signature ) {
124
129
this .signature = signature ;
125
130
}
@@ -465,7 +470,7 @@ private void writeInfoPlist(File file) throws IOException {
465
470
writeProperty (xout , "CFBundlePackageType" , OS_TYPE_CODE );
466
471
writeProperty (xout , "CFBundleShortVersionString" , shortVersion );
467
472
writeProperty (xout , "CFBundleSignature" , signature );
468
- writeProperty (xout , "CFBundleVersion" , "1" );
473
+ writeProperty (xout , "CFBundleVersion" , version );
469
474
writeProperty (xout , "NSHumanReadableCopyright" , copyright );
470
475
471
476
if (applicationCategory != null ) {
0 commit comments