testing release

This commit is contained in:
Jean-Christian Paul Denis 2023-03-19 10:51:46 +01:00
parent 6c0ffc1190
commit b02f4637e5
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 6 additions and 6 deletions

View File

@ -20,7 +20,7 @@ $this->registerModule(
'Packages repository',
'Manage your Dotclear packages',
'Jean-Christian Denis',
'2023.03.18',
'2023.03.18.1',
[
'requires' => [['core', '2.26']],
'permissions' => null,

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="pacKman">
<name>Packages repository</name>
<version>2023.03.18</version>
<version>2023.03.18.1</version>
<author>Jean-Christian Denis</author>
<desc>Manage your Dotclear packages</desc>
<file>https://github.com/JcDenis/pacKman/releases/download/v2023.03.18/plugin-pacKman.zip</file>
<file>https://github.com/JcDenis/pacKman/releases/download/v2023.03.18.1/plugin-pacKman.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/pacKman</da:details>
<da:support>https://github.com/JcDenis/pacKman</da:support>

View File

@ -92,7 +92,7 @@ class Config extends dcNsProcess
$img_off = sprintf($img, __('not writable'), 'check-off.png');
$check_repo = Utils::is_writable(Utils::getRepositoryDir($s->pack_repository), '_.zip') ? $img_on : $img_off;
$check_first = !empty($s->pack_filename) && Utils::is_writable(Utils::getRepositoryDir($repo), $s->pack_filename) ? $img_on : $img_off;
$check_first = !empty($s->pack_filename) && Utils::is_writable(Utils::getRepositoryDir($repo), $s->pack_filename) ? $img_on : $img_off;
$check_second = !empty($s->secondpack_filename) && Utils::is_writable(Utils::getRepositoryDir($repo), $s->secondpack_filename) ? $img_on : $img_off;
$is_configured = Utils::is_configured(

View File

@ -80,7 +80,7 @@ class Utils
return !(empty($path) || empty($file) || !is_writable(dirname($path . DIRECTORY_SEPARATOR . $file)));
}
public static function getUnzipCapability()
public static function getUnzipCapability(): string
{
switch (Unzip::USE_DEFAULT) {
case Unzip::USE_PHARDATA:
@ -109,7 +109,7 @@ class Utils
return 'Legacy';
}
public static function getZipCapability()
public static function getZipCapability(): string
{
switch (Zip::USE_DEFAULT) {
case Zip::USE_PHARDATA: