added hebrew, statistics

This commit is contained in:
benny committed 2024-06-09 15:44:01 +03:00
1 parent 8a3782e1db
commit 409b076cd0
7 files changed
+198 -57

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
body{
direction: rtl;
}
+5 -4
View File
@@ -91,16 +91,17 @@ function downloadValue(elementId, filename){
function scriptPackage(rowid, extracommand, line){
let text = `winget install ${rowid} -s huji`;
console.log(extracommand)
let fub = extracommand.indexOf(' &&')
let fub = extracommand.match(/\s?&&/)
fub = fub==null?-1:fub.index
console.log(`${rowid}, ${fub}`)
console.log(`${rowid}, ${extracommand.length < 2}`)
console.log(`fub in row: ${rowid}, is ${fub}`)
console.log(`extra command in line ${rowid}, has more than 2 lenght? ${extracommand.length < 2}. lenght${extracommand.length}`)
try{
console.log(text)
if(fub == 0){
text += extracommand;
}
else if((extracommand.length > 2)){
else if((extracommand.length > 2) && !(extracommand.match(/nil/))){
text = extracommand + " && " + text;
}
else if ((fub == -1))