Skip to content

Commit

Permalink
- inc version
Browse files Browse the repository at this point in the history
- fix: Installer does not wait for uninstaller to finish #146
  • Loading branch information
SarutaSan72 committed Jan 9, 2024
1 parent 2f16c2c commit 91d2289
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
12 changes: 6 additions & 6 deletions launch4j.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<launch4jConfig>
<dontWrapJar>false</dontWrapJar>
<headerType>gui</headerType>
<jar>.\release\yass-2.4.3.jar</jar>
<jar>.\release\yass-2.5.0.jar</jar>
<outfile>.\release\yass.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
Expand All @@ -28,12 +28,12 @@
<timeoutErr>true</timeoutErr>
</splash>
<versionInfo>
<fileVersion>2.4.3.0</fileVersion>
<txtFileVersion>Yass 2.4.3.0</txtFileVersion>
<fileVersion>2.5.0.0</fileVersion>
<txtFileVersion>Yass 2.5.0.0</txtFileVersion>
<fileDescription>Yass - Karaoke Editor</fileDescription>
<copyright>(C)2022 Saruta</copyright>
<productVersion>2.4.3.0</productVersion>
<txtProductVersion>2.4.3.0</txtProductVersion>
<copyright>(C)2024 Saruta</copyright>
<productVersion>2.5.0.0</productVersion>
<txtProductVersion>2.5.0.0</txtProductVersion>
<productName>Yass</productName>
<companyName>yass-along.com</companyName>
<internalName>yass</internalName>
Expand Down
27 changes: 13 additions & 14 deletions nsis-installer.nsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name "Yass"

OutFile ".\release\yass-installer-2.4.3.exe"
OutFile ".\release\yass-installer-2.5.0.exe"

Unicode true
SetCompressor lzma
Expand Down Expand Up @@ -120,8 +120,19 @@ uninst:
RMDir /r "$SMPROGRAMS\Yass Along 1.8.0"
RMDir /r "$SMPROGRAMS\Yass Along 1.7.1"

MessageBox MB_YESNO|MB_ICONEXCLAMATION \
$(Msg_RemoveSettings) \
IDNO bye IDYES yes
yes:
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
$(Msg_RemoveSettingsReally) \
IDOK yes2 IDCANCEL bye
yes2:
RMDir /r "$PROFILE\.yass"
bye:

ClearErrors
ExecWait $R0
ExecWait "$R0 /S _?=$INSTDIR"
done:
FunctionEnd
##################
Expand Down Expand Up @@ -263,16 +274,4 @@ Section "Uninstall"
Delete "$INSTDIR\yass.exe"
Delete "$INSTDIR\uninstall.exe"
RMDir "$INSTDIR"

MessageBox MB_YESNO|MB_ICONEXCLAMATION \
$(Msg_RemoveSettings) \
IDNO bye IDYES yes
yes:
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \
$(Msg_RemoveSettingsReally) \
IDOK yes2 IDCANCEL bye
yes2:
RMDir /r "$PROFILE\.yass"
bye:

sectionEnd
2 changes: 1 addition & 1 deletion src/yass/I18.java
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public static String getCopyright(String version, String date) {
sb.append("[email protected]<br>");
sb.append("<a href=\"http://yass-along.com\">http://yass-along.com</a><br>");
sb.append("<br>");
sb.append("Copyright (C) 2020 Saruta<br>");
sb.append("Copyright (C) 2009-2024 Saruta<br>");
sb.append("This program is free software: you can redistribute it and/or modify<br>");
sb.append("it under the terms of the GNU General Public License as published by<br>");
sb.append("the Free Software Foundation, either version 3 of the License, or<br>");
Expand Down
4 changes: 2 additions & 2 deletions src/yass/YassActions.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
public class YassActions implements DropTargetListener {

private final YassSheet sheet;
public final static String VERSION = "2.4.3";
public final static String DATE = "03/2023";
public final static String VERSION = "2.5.0";
public final static String DATE = "01/2024";

static int VIEW_LIBRARY = 1;
static int VIEW_EDIT = 2;
Expand Down

0 comments on commit 91d2289

Please sign in to comment.