mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
Renew the updater branch
Now with some actual consensus on what the updater will do!
This commit is contained in:
22
mmc_updater/src/StandardDirs.h
Normal file
22
mmc_updater/src/StandardDirs.h
Normal file
@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "Platform.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
class StandardDirs
|
||||
{
|
||||
public:
|
||||
static std::string appDataPath(const std::string& organizationName,
|
||||
const std::string& appName);
|
||||
|
||||
private:
|
||||
#ifdef PLATFORM_UNIX
|
||||
static std::string homeDir();
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_MAC
|
||||
static std::string applicationSupportFolderPath();
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user