Skip to content
/ asuko Public

Java application autoupdate software.

Notifications You must be signed in to change notification settings

anfanik/asuko

Repository files navigation

asuko


Java application autoupdate software

Usage

Create a configuration file asuko.conf

main: "org.bukkit.craftbukkit.Main"
files: [
	{
		id: "antblock"
		url: "https://repository.anfanik.me/deploy/me/anfanik/antblock/stage/antblock-stage.jar"
		credentials: { # Optional section for Basic Authorization
			username: "username"
			password: "password"
		}
		destination: "./plugins/antblock.jar"
	}
]

Integration

  • Set allow restart check. It should block application when it's is not required
Asuko.setIsCanRestart(() -> Bukkit.getOnlinePlayers().isEmpty());
  • Try to restart when it makes allowed. It will restart your application if restart is required
Asuko.performSafeRestartIfRequired();
  • Done!

About

Java application autoupdate software.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages