mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-12-24 17:37:40 +01:00
Version
This commit is contained in:
parent
b6da49a6a8
commit
dc48822a07
@ -42,8 +42,9 @@ public class SongodaUpdate {
|
||||
|
||||
private void update(Plugin plugin) {
|
||||
try {
|
||||
URL url = new URL("http://update.songoda.com/index.php?plugin=" + plugin.getSongodaId() +
|
||||
"&version=" + plugin.getJavaPlugin().getDescription().getVersion());
|
||||
URL url = new URL("http://update.songoda.com/index.php?plugin=" + plugin.getSongodaId()
|
||||
+ "&version=" + plugin.getJavaPlugin().getDescription().getVersion()
|
||||
+ "&updaterVersion=" + version);
|
||||
URLConnection urlConnection = url.openConnection();
|
||||
InputStream is = urlConnection.getInputStream();
|
||||
InputStreamReader isr = new InputStreamReader(is);
|
||||
|
Loading…
Reference in New Issue
Block a user