mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-17 19:02:32 -04:00
prepare for version 0.3.1.
This commit is contained in:
parent
fc3634af7b
commit
f971a787ba
10 changed files with 32 additions and 16 deletions
|
@ -21,9 +21,8 @@ import io.bitsquare.util.Utilities;
|
|||
|
||||
import com.google.inject.Inject;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Timer;
|
||||
|
@ -91,7 +90,11 @@ public class UpdateProcess {
|
|||
timeoutTimer = Utilities.setTimeout(10000, () -> process.onCompleted());
|
||||
|
||||
String agent = environment.getProperty(BitsquareEnvironment.APP_NAME_KEY) + Version.VERSION;
|
||||
Path dataDirPath = new File(environment.getProperty(BitsquareEnvironment.APP_DATA_DIR_KEY)).toPath();
|
||||
|
||||
// We use the outer dir not the app data dir including version and btc network
|
||||
Path dataDirPath = Paths.get(environment.getProperty(BitsquareEnvironment.USER_DATA_DIR_KEY),
|
||||
environment.getProperty(BitsquareEnvironment.APP_NAME_KEY));
|
||||
|
||||
Updater updater = new Updater(UPDATES_BASE_URL, agent, Version.PATCH_VERSION, dataDirPath, ROOT_CLASS_PATH,
|
||||
UPDATE_SIGNING_KEYS, UPDATE_SIGNING_THRESHOLD) {
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue