diff --git a/.gitignore b/.gitignore index 9f97022..162a06c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -target/ \ No newline at end of file +target/ +dist/ \ No newline at end of file diff --git a/inno.iss b/.inno.iss similarity index 90% rename from inno.iss rename to .inno.iss index bc355b0..bf6387f 100644 --- a/inno.iss +++ b/.inno.iss @@ -2,7 +2,7 @@ #define AppVersion "0.8.1" #define AppPublisher "JvMs Software" #define AppURL "https://github.com/jcbvm/ember-i18n-editor" -#define AppExeName "i18n-editor-0.8.1.exe" +#define AppExeName "i18n-editor.exe" [Setup] AppId={{16A49296-8A8D-4BDA-A743-5F1BF02953D5} @@ -10,16 +10,17 @@ AppName={#AppName} AppVersion={#AppVersion} AppPublisher={#AppPublisher} AppPublisherURL={#AppURL} -AppSupportURL={#AppURL}/issues -AppUpdatesURL={#AppURL}/releases +AppSupportURL={#AppURL} +AppUpdatesURL={#AppURL} DefaultDirName={pf}\{#AppPublisher}\{#AppName} DisableProgramGroupPage=auto DisableDirPage=auto AlwaysShowDirOnReadyPage=yes LicenseFile=LICENSE -OutputBaseFilename=setup -OutputDir=target +OutputBaseFilename={#AppName}-{#AppVersion} +OutputDir=dist SetupIconFile=src\main\resources\images\icon.ico +UninstallDisplayIcon={uninstallexe} Compression=lzma SolidCompression=yes ArchitecturesAllowed=x86 x64 ia64 @@ -27,8 +28,8 @@ ArchitecturesInstallIn64BitMode=x64 ia64 [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" -Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl" Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl" +Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl" [Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked diff --git a/pom.xml b/pom.xml index c70c4e9..c8e1abc 100644 --- a/pom.xml +++ b/pom.xml @@ -67,14 +67,13 @@ 1.7.7 - l4j-clui package launch4j gui - ${project.build.directory}/${project.artifactId}-${project.version}.exe + ${project.build.directory}/${project.artifactId}.exe ${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar i18n Editor @@ -88,6 +87,25 @@ + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + install + + run + + + + + + + + +