canaria3406/hoyolab-auto-sign

Doubt regarding setting up environmental variables in google script

Opened this issue · 2 comments

Hello,
First of all I want to convey my gratitude to @canaria3406 for creating this script.

I have a question. I heard that cookies data shouldn't be shared with anyone. How we can set up environmental variables in google script? Or there is nothing to worry about as my project in google script is private and no one can view my secret values.

Waiting for your response and thankyou.

Hello, First of all I want to convey my gratitude to @canaria3406 for creating this script.

I have a question. I heard that cookies data shouldn't be shared with anyone. How we can set up environmental variables in google script? Or there is nothing to worry about as my project in google script is private and no one can view my secret values.

Waiting for your response and thankyou.

First you need to stringify the array of objects and log it to the console, then copy paste it to the script properties on settings inside your google app script, to access the variable just see the documentation about it, u need to parse the JSON file after you've accessed the variable.

image2
image
image1

Thnx