Upgrade Tor, obfs4 and snowflake; use new artifact layout.

This commit is contained in:
akwizgran
2023-02-13 17:07:53 +00:00
committed by Sebastian Kürten
parent 7e5e61fc05
commit 82efb0d044
10 changed files with 42 additions and 66 deletions

View File

@@ -62,9 +62,9 @@ public class UnixTorPluginFactory extends TorPluginFactory {
if (LOG.isLoggable(INFO)) {
LOG.info("System's os.arch is " + arch);
}
if (arch.equals("amd64")) return "linux-x86_64";
else if (arch.equals("aarch64")) return "linux-aarch64";
else if (arch.equals("arm")) return "linux-armhf";
if (arch.equals("amd64")) return "x86_64";
else if (arch.equals("aarch64")) return "aarch64";
else if (arch.equals("arm")) return "armhf";
return null;
}

View File

@@ -94,4 +94,8 @@ class WindowsTorPlugin extends JavaTorPlugin {
if (!success.take()) throw new PluginException();
}
@Override
protected String getExecutableExtension() {
return ".exe";
}
}

View File

@@ -62,7 +62,7 @@ public class WindowsTorPluginFactory extends TorPluginFactory {
if (LOG.isLoggable(INFO)) {
LOG.info("System's os.arch is " + arch);
}
if (arch.equals("amd64")) return "windows-x86_64";
if (arch.equals("amd64")) return "x86_64";
return null;
}