try loading resources from share, fallback to cwd

This commit is contained in:
ouwou
2021-06-30 18:15:03 -04:00
parent 220aa6d13a
commit 698ec52d5c
12 changed files with 80 additions and 15 deletions

View File

@@ -86,6 +86,11 @@ public:
void ManageHeapWindow(Gtk::Window *window);
static std::string GetCSSPath();
static std::string GetResPath();
static std::string GetCSSPath(const std::string &path);
static std::string GetResPath(const std::string &path);
protected:
void ShowGuildVerificationGateDialog(Snowflake guild_id);