(Context context, String url, String version)
| 11 | */ |
| 12 | public class MsfUpdate extends Update { |
| 13 | public MsfUpdate(Context context, String url, String version) { |
| 14 | this.url = url; |
| 15 | this.version = version; |
| 16 | |
| 17 | name = "msf.tar.xz"; |
| 18 | path = String.format("%s/%s", System.getStoragePath(), name); |
| 19 | outputDir = System.getMsfPath(); |
| 20 | executableOutputDir = ExecChecker.msf().getRoot(); |
| 21 | archiver = Update.archiveAlgorithm.tar; |
| 22 | compression = Update.compressionAlgorithm.xz; |
| 23 | fixShebang = wipeOnFail = true; |
| 24 | prompt = context.getString(R.string.new_msf_found); |
| 25 | } |
| 26 | } |
nothing calls this directly
no test coverage detected