diff options
author | Emma Miler <27428383+emma-miler@users.noreply.github.com> | 2022-03-26 00:56:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-26 00:56:52 +0100 |
commit | ebba08beb9e3227c2b646f83745fc0ce5b142264 (patch) | |
tree | 7c78d368aa1bc674a050b6aba12340b6c1ba1b1a /NorthstarDedicatedTest/version.h | |
parent | de7deafc7e6ba53deec8dd3c05d2ea5e7cf42264 (diff) | |
download | NorthstarLauncher-ebba08beb9e3227c2b646f83745fc0ce5b142264.tar.gz NorthstarLauncher-ebba08beb9e3227c2b646f83745fc0ce5b142264.zip |
Add version numbering to all master server requests (#113)
* Add version numbering to all master server requests
* Use "+dev" for user agent if dev version instead of "-dev"
* Replace "FindResource" with "FindResourceW"
As per code review suggestion
https://github.com/R2Northstar/NorthstarLauncher/pull/113#discussion_r834788821
* Set User-Agent in SetCommonHttpClientOptions
instead of for each curl call individually
As per code review suggestion
https://github.com/R2Northstar/NorthstarLauncher/pull/113#discussion_r834789168
Co-authored-by: GeckoEidechse <gecko.eidechse+git@pm.me>
Diffstat (limited to 'NorthstarDedicatedTest/version.h')
-rw-r--r-- | NorthstarDedicatedTest/version.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/version.h b/NorthstarDedicatedTest/version.h new file mode 100644 index 00000000..d9d29fec --- /dev/null +++ b/NorthstarDedicatedTest/version.h @@ -0,0 +1,6 @@ +#pragma once + +extern char version[16]; +extern char NSUserAgent[32]; + +void InitialiseVersion();
\ No newline at end of file |