Merge pull request #3333 from buthed010203/patch-1

Fix bleeding edge updater
This commit is contained in:
Anuken
2020-11-10 17:04:33 -05:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ public class BeControl{
}, updateInterval, updateInterval); }, updateInterval, updateInterval);
} }
if(System.getProperties().contains("becopy")){ if(System.getProperties().containsKey("becopy")){
try{ try{
Fi dest = Fi.get(System.getProperty("becopy")); Fi dest = Fi.get(System.getProperty("becopy"));
Fi self = Fi.get(BeControl.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath()); Fi self = Fi.get(BeControl.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());