Compare commits

..

2 Commits

Author SHA1 Message Date
Zlatin Balevsky
c48df7f14b Release 0.1.9 2019-06-13 22:57:08 +01:00
Zlatin Balevsky
9d04148001 remember loaded downloads from previous sessions 2019-06-13 22:53:23 +01:00
5 changed files with 5 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ class Cli {
Core core
try {
core = new Core(props, home, "0.1.8")
core = new Core(props, home, "0.1.9")
} catch (Exception bad) {
bad.printStackTrace(System.out)
println "Failed to initialize core, exiting"

View File

@@ -53,7 +53,7 @@ class CliDownloader {
Core core
try {
core = new Core(props, home, "0.1.8")
core = new Core(props, home, "0.1.9")
} catch (Exception bad) {
bad.printStackTrace(System.out)
println "Failed to initialize core, exiting"

View File

@@ -260,7 +260,7 @@ public class Core {
}
}
Core core = new Core(props, home, "0.1.8")
Core core = new Core(props, home, "0.1.9")
core.startServices()
// ... at the end, sleep or execute script

View File

@@ -99,6 +99,7 @@ public class DownloadManager {
}
def downloader = new Downloader(eventBus, this, me, file, (long)json.length,
infoHash, json.pieceSizePow2, connector, destinations, incompletes)
downloaders.add(downloader)
downloader.download()
eventBus.publish(new DownloadStartedEvent(downloader : downloader))
}

View File

@@ -1,5 +1,5 @@
group = com.muwire
version = 0.1.8
version = 0.1.9
groovyVersion = 2.4.15
slf4jVersion = 1.7.25
spockVersion = 1.1-groovy-2.4