Skip to content

Commit

Permalink
Fixed naming of installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
shannah committed Dec 3, 2022
1 parent 5cbd3d1 commit 175c616
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,9 @@ private void install() throws Exception {
String nameSuffix = "";
String titleSuffix = "";
if (appInfo().getNpmVersion().startsWith("0.0.0-")) {
nameSuffix = "-" + appInfo().getNpmVersion().substring(appInfo().getNpmVersion().indexOf("-") + 1).trim();
titleSuffix = "-" + appInfo().getNpmVersion().substring(appInfo().getNpmVersion().indexOf("-") + 1).trim();
String v = appInfo().getNpmVersion();
nameSuffix = "-" +v.substring(v.indexOf("-") + 1).trim();
titleSuffix = "-" + v.substring(v.indexOf("-") + 1).trim();
}

String exeName = deriveLinuxBinaryNameFromTitle(appInfo().getTitle()) + nameSuffix;
Expand Down

0 comments on commit 175c616

Please sign in to comment.