Merge pull request #8 from jsavargas/add-force

Add force
This commit is contained in:
UnRAID_ES 2022-09-30 23:09:19 -03:00 committed by GitHub
commit a6b2a75019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 70 additions and 33 deletions

Binary file not shown.

View File

@ -47,6 +47,22 @@
"download_url": "https://raw.githubusercontent.com/UnRAIDES/unRAID-NerdTools/main/packages/6.11/jdupes-1.19.1-x86_64-1_SBo.txz",
"type": "file"
},
{
"name": "libmediainfo-19.09-x86_64-1_SBo.txz",
"path": "packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz",
"sha": "a8efcd09519097b6d53c80d8db0d1fd30e9200ba",
"size": 2359380,
"download_url": "https://raw.githubusercontent.com/UnRAIDES/unRAID-NerdTools/main/packages/6.11/libmediainfo-19.09-x86_64-1_SBo.txz",
"type": "file"
},
{
"name": "libzen-0.4.37-x86_64-1_SBo.txz",
"path": "packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz",
"sha": "fe1b1a207f3dd30710f7e2e6b3838388d0a229bb",
"size": 366184,
"download_url": "https://raw.githubusercontent.com/UnRAIDES/unRAID-NerdTools/main/packages/6.11/libzen-0.4.37-x86_64-1_SBo.txz",
"type": "file"
},
{
"name": "mediainfo-19.09-x86_64-1_SBo.txz",
"path": "packages/6.11/mediainfo-19.09-x86_64-1_SBo.txz",

4
develop/create.json-6.11.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
php create.json.php 6.11 > ../contents/packages.6.11.json

View File

@ -2,7 +2,6 @@
php create.json.php 6.11 > ../contents/packages.6.11.json
# Generador de version de plugin
ejemplos:

Binary file not shown.

Binary file not shown.

View File

@ -3,8 +3,8 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "NerdTools">
<!ENTITY author "UnRAIDES">
<!ENTITY version "2022.09.30">
<!ENTITY md5 "279f45e33dbc23b216bd85799951bfdf">
<!ENTITY version "2022.09.30a">
<!ENTITY md5 "91976cb7d3ff8ebe37aad17b0ea78304">
<!ENTITY launch "Settings/&name;">
<!ENTITY github "UnRAIDES/unRAID-&name;">
<!ENTITY pluginURL "https://raw.githubusercontent.com/&github;/main/plugin/&name;.plg">

View File

@ -47,7 +47,8 @@ $(function(){
$('#btnApply').click(Apply);
packageQuery();
var url = window.location.href.split("?");
packageQuery(url[1]);
});
//list all available packages in a table
@ -158,39 +159,56 @@ function Apply() {
function checkDepends() {
try {
if ($('#tmux')[0].checked) {
$('#ncurses-terminfo').switchButton({checked: true});
$('#ncurses-terminfo').switchButton({ checked: true });
$('#ncurses-terminfo', '.pkgvalue').val('yes');
}
if ($('#expect')[0].checked) {
$('#tcl').switchButton({checked: true});
$('#tcl', '.pkgvalue').val('yes');
}
if ($('#iotop')[0].checked) {
$('#python2').switchButton({checked: true});
$('#python2', '.pkgvalue').val('yes');
}
if ($('#vim')[0].checked) {
$('#libsodium').switchButton({checked: true});
$('#libsodium', '.pkgvalue').val('yes');
}
if ($('#borgbackup')[0].checked) {
$('#python3').switchButton({checked: true});
$('#python3', '.pkgvalue').val('yes');
$('#python-setuptools').switchButton({checked: true});
$('#python-setuptools', '.pkgvalue').val('yes');
$('#llfuse').switchButton({checked: true});
$('#llfuse', '.pkgvalue').val('yes');
}
if ($('#irssi')[0].checked) {
$('#utf8proc').switchButton({checked: true});
$('#utf8proc', '.pkgvalue').val('yes');
}
} catch (error) {
console.error(error);
// expected output: ReferenceError: nonExistentFunction is not defined
// Note - error messages will vary depending on browser
}
try {
if ($('#expect')[0].checked) {
$('#tcl').switchButton({ checked: true });
$('#tcl', '.pkgvalue').val('yes');
}
} catch (error) {
console.error(error);
}
try {
if ($('#iotop')[0].checked) {
$('#python2').switchButton({ checked: true });
$('#python2', '.pkgvalue').val('yes');
}
} catch (error) {
console.error(error);
}
try {
if ($('#vim')[0].checked) {
$('#libsodium').switchButton({ checked: true });
$('#libsodium', '.pkgvalue').val('yes');
}
} catch (error) {
console.error(error);
}
try {
if ($('#borgbackup')[0].checked) {
$('#python3').switchButton({ checked: true });
$('#python3', '.pkgvalue').val('yes');
$('#python-setuptools').switchButton({ checked: true });
$('#python-setuptools', '.pkgvalue').val('yes');
$('#llfuse').switchButton({ checked: true });
$('#llfuse', '.pkgvalue').val('yes');
}
} catch (error) {
console.error(error);
}
try {
if ($('#irssi')[0].checked) {
$('#utf8proc').switchButton({ checked: true });
$('#utf8proc', '.pkgvalue').val('yes');
}
} catch (error) {
console.error(error);
}
}