Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User variable #66

Open
Maingron opened this issue Aug 1, 2023 · 0 comments
Open

User variable #66

Maingron opened this issue Aug 1, 2023 · 0 comments

Comments

@Maingron
Copy link
Owner

Maingron commented Aug 1, 2023

See #60 (system variable), but for storing user data exclusively.
When logging into a user (or maybe fetching user list), we then can combine this variable with the system variable.
Example contents of user variable:

{
  "name": "sysacc",
  "person": {
    "name": "System",
    "surname": "Account",
    "birthdate": "2000-12-31",
    "gender": "",
  },
  "paths": {
    "home": system.paths.users + user.name + "/",
    "appdata": user.paths.home + "appdata/",
    "desktop": user.paths.home + "desktop/",
    "images": user.paths.home + "images/",
    "savestates": user.paths.home + "saved games/"
  },
  "settings": {
    "themecolor": "#ffff77",
    "fontsize": "16px",
    "fontfamily": "Comic Sans MS",
    "darkmode": "auto",
    "developer": false
  }
}
// And so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant