mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-25 13:30:42 +00:00
Store encryption key's in XDG cache directory and make location changable
This commit is contained in:
1 parent
2d365fbeed
commit
ddbec9661a
4 files changed
+22
-2
No files matched your search
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "limelight-common/Limelight.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -416,6 +417,7 @@ int gs_quit_app(PSERVER_DATA server) {
|
||||
}
|
||||
|
||||
int gs_init(PSERVER_DATA server, const char *address, const char *keyDirectory) {
|
||||
mkdir(keyDirectory, 00755);
|
||||
if (load_unique_id(keyDirectory) != GS_OK)
|
||||
return GS_FAILED;
|
||||
|
||||
|
||||
Reference in new issue
Block a user