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

Add global settings #469

Merged
merged 24 commits into from
Nov 9, 2023
Merged

Add global settings #469

merged 24 commits into from
Nov 9, 2023

Conversation

o-sdn-o
Copy link
Collaborator

@o-sdn-o o-sdn-o commented Nov 9, 2023

Changes

  • Add global settings
    • on posix: /etc/vtm/settings.xml
    • on win32: %programdata%/vtm/settings.xml
  • Remove VTM_CONFIG env variable support
  • Change settings loading order
    graph LR
        subgraph Settings loading order
        direction LR
            B("Init hardcoded
            settings")
            B --> C["--config #lt;file#gt;
            specified?"]
            C -->|Yes| D["Merge #lt;file#gt;"]
            C --->|No| F["Merge global"]
            F --> G["Merge user wise"]
            D ---> H["Merge DirectVT packet
            received from parent"]
            G --> H
        end
    
    Loading

Closes #465

@o-sdn-o o-sdn-o changed the title Add global configuration Add global settings Nov 9, 2023
@o-sdn-o o-sdn-o merged commit fbb79c9 into directvt:master Nov 9, 2023
9 checks passed
@o-sdn-o o-sdn-o deleted the vt-input-mode branch November 9, 2023 10:54
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

Successfully merging this pull request may close these issues.

No global configuration
1 participant