<?php

class custom_arch extends \FileRun\Files\Plugin {

	public bool $weblinksCompatible = true;
	static $localeSection = 'Custom Actions: Archive Explorer';

	function init() {
		$this->JSconfig = [
			"title" => self::t("Archive Explorer"),
			'iconCls' => 'fa-file-archive-o',
			'useWith' => ['arch'],
			"popup" => true,
			'width' => 500, 'height' => 400,
			"requires" => ["download"]
		];
	}

	function run() {
		require $this->path."/display.php";
	}
}