com.github.paweladamski.jinstall.WindowsSpecific Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JInstall Show documentation
Show all versions of JInstall Show documentation
JInstall is an Maven plugin which allows you to install application on your local machine.
The newest version!
package com.github.paweladamski.jinstall;
public class WindowsSpecific implements OsSpecific {
@Override
public String getLauncherScript(String jarName) {
return String.format("@echo off\n java -jar %s %%*", jarName);
}
@Override
public String getLauncherName(String finalName) {
return finalName + ".bat";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy