[RuriLib]: can someone help me to edit something in puppeteer browser method

Hello @Ruri i and OB2 Familly, hope you’re doing well.
:smiling_face_with_three_hearts: ,
i need to edit something in Rurilib block ,Exactly in "/RuriLib/Blocks/Puppeteer/Browser/Methods.cs (LINE 34)" section , All i want is to add a checkbox, if it is true ,run the condition ,as th logic shown below :arrow_lower_left:

var args = data.ConfigSettings.BrowserSettings.CommandLineArgs;
##thiis is my code directly after line 34
string text = System.IO.File.ReadAllText(@"DATA\\directory.txt");
if (data.ConfigSettings.BrowserSettings.ReadExternalCmdArg)
            {
                args += " {text}";
            }
##end

P.M : So please check with me if all it will work fine

also in " /RuriLib/Models/Configs/Settings/BrowserSettings.cs" i added this

public bool ReadExternalCmdArg { get; set; } = true;

this is my blocks side :arrow_lower_left:

image

But i don’t know how to add the textbox in frontend like this :arrow_lower_left:

image

I’m so sorry guys , cuz i’m noob in c# , so simply should make Command Line arguments accept variable as in img below :arrow_lower_left:

image

So please help me to resolve this ,

Thank you to @Ruri , and to all who make OB2 Community Better :white_heart:

i hope one of you can compile the fixed version of Rurilib.dll form me

follow me please GIF

Hi, did you open an issue on github about this? I prefer to implement it directly inside OB2 instead of giving you a separate DLL.

1 Like

yes , i already opened issue in Github 19 days ago
Check

Okay thanks I will try to include it in version 0.2.2 so stay tuned

1 Like

Thank you dear :white_heart:
i’m waiting impatiently !