mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-29 10:50:30 +02:00
Ensure version is v2.5.0-alpha-0
* Ensure version is v2.5.0-alpha-0
This commit is contained in:
parent
eb9d637eba
commit
9062d0ecb7
|
@ -53,7 +53,9 @@ class ApplicationConfig {
|
||||||
// Comply with OneDrive traffic decoration requirements
|
// Comply with OneDrive traffic decoration requirements
|
||||||
// https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online
|
// https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online
|
||||||
// - Identify as ISV and include Company Name, App Name separated by a pipe character and then adding Version number separated with a slash character
|
// - Identify as ISV and include Company Name, App Name separated by a pipe character and then adding Version number separated with a slash character
|
||||||
immutable string defaultUserAgent = isvTag ~ "|" ~ companyName ~ "|" ~ appTitle ~ "/" ~ strip(import("version"));
|
|
||||||
|
//immutable string defaultUserAgent = isvTag ~ "|" ~ companyName ~ "|" ~ appTitle ~ "/" ~ strip(import("version"));
|
||||||
|
immutable string defaultUserAgent = isvTag ~ "|" ~ companyName ~ "|" ~ appTitle ~ "/" ~ "v2.5.0-alpha-0");
|
||||||
|
|
||||||
// HTTP Struct items, used for configuring HTTP()
|
// HTTP Struct items, used for configuring HTTP()
|
||||||
// Curl Timeout Handling
|
// Curl Timeout Handling
|
||||||
|
@ -314,7 +316,9 @@ class ApplicationConfig {
|
||||||
boolValues["webhook_enabled"] = false;
|
boolValues["webhook_enabled"] = false;
|
||||||
|
|
||||||
// Print in debug the application version as soon as possible
|
// Print in debug the application version as soon as possible
|
||||||
log.vdebug("Application Version: ", strip(import("version")));
|
|
||||||
|
//log.vdebug("Application Version: ", strip(import("version")));
|
||||||
|
log.vdebug("Application Version: v2.5.0-alpha-0");
|
||||||
|
|
||||||
// EXPAND USERS HOME DIRECTORY
|
// EXPAND USERS HOME DIRECTORY
|
||||||
// Determine the users home directory.
|
// Determine the users home directory.
|
||||||
|
|
|
@ -106,7 +106,8 @@ int main(string[] cliArgs) {
|
||||||
}
|
}
|
||||||
// Print the version and exit
|
// Print the version and exit
|
||||||
if (printVersion) {
|
if (printVersion) {
|
||||||
writeln("onedrive ", strip(import("version")));
|
//writeln("onedrive ", strip(import("version")));
|
||||||
|
writeln("onedrive v2.5.0-alpha-0");
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
} catch (GetOptException e) {
|
} catch (GetOptException e) {
|
||||||
|
|
Loading…
Reference in a new issue