From 79ff68efbeb659960d7c0ceb6060fff12a684684 Mon Sep 17 00:00:00 2001 From: esoe Date: Thu, 10 Nov 2022 08:10:10 +0300 Subject: [PATCH] qq --- options.json => options-home.json | 0 options-office.json | 7 +++++++ .../sourceListener/SourceListener.java | 2 +- .../sourceListener/SourceListener.class | Bin 5744 -> 5751 bytes 4 files changed, 8 insertions(+), 1 deletion(-) rename options.json => options-home.json (100%) create mode 100644 options-office.json diff --git a/options.json b/options-home.json similarity index 100% rename from options.json rename to options-home.json diff --git a/options-office.json b/options-office.json new file mode 100644 index 0000000..bfbdb12 --- /dev/null +++ b/options-office.json @@ -0,0 +1,7 @@ +{ + "linkVC" : "http://molokoin.ru:3000/esoe/molokoin-client/archive/master.zip", + "downloadPath" : "C:\\Users\\devuser\\Documents\\code\\sourceListener\\out\\zip", + "zipPath" : "C:\\Users\\devuser\\Documents\\code\\sourceListener\\out\\zip\\molokoin-client-master.zip", + "unzipPath" : "C:\\Users\\devuser\\Documents\\code\\sourceListener\\out\\unzip\\molokoin" + +} \ No newline at end of file diff --git a/src/main/java/ru/molokoin/sourceListener/SourceListener.java b/src/main/java/ru/molokoin/sourceListener/SourceListener.java index b816dfa..8fa5661 100644 --- a/src/main/java/ru/molokoin/sourceListener/SourceListener.java +++ b/src/main/java/ru/molokoin/sourceListener/SourceListener.java @@ -44,7 +44,7 @@ public class SourceListener { public Options readOptions() throws StreamReadException, DatabindException, IOException{ Options opt; ObjectMapper mapper = new ObjectMapper(); - opt = mapper.readValue(new File("options.json"), Options.class); + opt = mapper.readValue(new File("options-office.json"), Options.class); return opt; } public Options getOpt() { diff --git a/target/classes/ru/molokoin/sourceListener/SourceListener.class b/target/classes/ru/molokoin/sourceListener/SourceListener.class index f73638d573e3fbaf7d3c390193b287bd23156161..4ba30ed48f3ae8d5243ad47dd05e9da0fa44970e 100644 GIT binary patch delta 28 kcmeyM^Id1dTxNdZ{DP9q{Jdh_{Is;p