mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 02:09:49 +00:00
Use hostname as the default Sunshine name
This commit is contained in:
parent
15dd6b3cd0
commit
f487fa1366
@ -8,7 +8,8 @@
|
||||
# cert = /dir/cert.pem
|
||||
|
||||
# The name displayed by Moonlight
|
||||
sunshine_name = Sunshine
|
||||
# If not specified, the PC's hostname is used
|
||||
# sunshine_name = Sunshine
|
||||
|
||||
# The minimum log level printed to standard out
|
||||
#
|
||||
|
@ -3,6 +3,8 @@
|
||||
#include <functional>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <boost/asio.hpp>
|
||||
|
||||
#include "utility.h"
|
||||
#include "config.h"
|
||||
|
||||
@ -41,7 +43,7 @@ nvhttp_t nvhttp {
|
||||
PRIVATE_KEY_FILE,
|
||||
CERTIFICATE_FILE,
|
||||
|
||||
"sunshine"s, // sunshine_name,
|
||||
boost::asio::ip::host_name(), // sunshine_name,
|
||||
"03904e64-51da-4fb3-9afd-a9f7ff70fea4"s, // unique_id
|
||||
"devices.json"s // file_devices
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user