Skip to content

Commit d4cd945

Browse files
committed
Once the placeholder is set, it can not be undone.
1 parent acac831 commit d4cd945

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/com/inet/gradle/setup/dmg/DmgBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ private void extractApplicationInformation() throws IOException {
277277
command.add( "--component-plist" );
278278
command.add( tempPath.getTempString( setup.getAppIdentifier() + ".plist" ) );
279279
command.add( "--identifier" );
280-
command.add( setup.getMainClass() != null ? setup.getMainClass() : setup.getAppIdentifier() );
280+
command.add( task.getApplicationIdentifier( setup ) );
281281
command.add( "--version" );
282282
command.add( task.getVersion() );
283283
command.add( "--scripts" );

src/com/inet/gradle/setup/dmg/OSXScriptBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public OSXScriptBuilder( Application application, String template ) throws IOExc
5555

5656
setPlaceholder( "executable", application.getExecutable() );
5757
setPlaceholder( "displayName", application.getDisplayName() );
58-
setPlaceholder( "serviceName", application.getMainClass() );
5958

6059
setPlaceholder( "mainClass", application.getMainClass() );
6160
setPlaceholder( "mainJar", application.getMainJar() );

0 commit comments

Comments
 (0)