This commit is contained in:
luboslenco
2021-01-12 21:01:18 +01:00
parent ca9830fa81
commit 0576bbe7dd
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class File {
static function initCloud() {
cloud = [];
var files: Array<String> = [];
var bytes = File.downloadBytes(Config.raw.server_dir);
var bytes = File.downloadBytes(Config.raw.server);
if (!File.exists(Path.workingDir() + Path.sep + Path.data() + Path.sep + "download.bin")) {
cloud.set("cloud", []);
Log.error(Strings.error5());
-1
View File
@@ -109,7 +109,6 @@ class Config {
raw.dilate = DilateInstant;
raw.dilate_radius = 2;
raw.server = "https://armorpaint.fra1.digitaloceanspaces.com";
raw.server_dir = "https://fra1.digitaloceanspaces.com/armorpaint";
}
else {
// Upgrade config format created by older ArmorPaint build
-1
View File
@@ -51,5 +51,4 @@ typedef TConfig = {
@:optional var dilate: Null<Int>;
@:optional var dilate_radius: Null<Int>;
@:optional var server: String;
@:optional var server_dir: String;
}