added hebrew, statistics
This commit is contained in:
3
public/hebrew.css
Normal file
3
public/hebrew.css
Normal file
@@ -0,0 +1,3 @@
|
||||
body{
|
||||
direction: rtl;
|
||||
}
|
@@ -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))
|
||||
|
Reference in New Issue
Block a user