[macOS] Add support for loading shell environment from UI apps.

This commit is contained in:
bruvzg 2023-09-03 11:44:18 +03:00 committed by Pāvels Nadtočajevs
parent e45cc68092
commit ee181951b6
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
5 changed files with 40 additions and 0 deletions

View file

@ -205,6 +205,7 @@ public:
virtual String get_environment(const String &p_var) const = 0;
virtual void set_environment(const String &p_var, const String &p_value) const = 0;
virtual void unset_environment(const String &p_var) const = 0;
virtual void load_shell_environment() const {}
virtual String get_name() const = 0;
virtual String get_identifier() const;