diff options
author | Leonard König | 2021-02-02 16:58:03 +0100 |
---|---|---|
committer | Leonard König | 2021-02-02 16:58:03 +0100 |
commit | 15c3e0f19d6d6a44aad6da7b9348145547d389c0 (patch) | |
tree | d022b2853bacfdf8b58563e9f384e9bd1060be2e /config_sysdirs.patch | |
download | aur-15c3e0f19d6d6a44aad6da7b9348145547d389c0.tar.gz |
initial import from upstream PR
https://github.com/LeonardKoenig/hide.client.linux/tree/prq_archlinux
Diffstat (limited to 'config_sysdirs.patch')
-rw-r--r-- | config_sysdirs.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config_sysdirs.patch b/config_sysdirs.patch new file mode 100644 index 000000000000..4abdecdcf358 --- /dev/null +++ b/config_sysdirs.patch @@ -0,0 +1,22 @@ +diff --git a/configuration/configuration.go b/configuration/configuration.go +index ac3947c..d65da20 100644 +--- a/configuration/configuration.go ++++ b/configuration/configuration.go +@@ -40,8 +40,8 @@ func NewHideGuardConfiguration() *HideGuardConfiguration { + Host: "", // command line option "-n" + Port: 432, // command line option "-p" + Domain: "hide.me", // Not configurable +- CA: "CA.pem", // command line option "-ca" +- AccessTokenFile: "accessToken.txt", // command line option "-t" ++ CA: "/usr/share/hide.me/CA.pem", // command line option "-ca" ++ AccessTokenFile: "/etc/hide.me/accessToken.txt", // command line option "-t" + Username: "", // command line option "-u" + Password: "", // Only configurable through the config file + ConnectTimeout: 10 * time.Second, // Only configurable through the config file +@@ -120,4 +120,4 @@ func ( c *HideGuardConfiguration ) InteractiveCredentials() ( err error ) { + func ( c *HideGuardConfiguration ) Print() { + if out, err := yaml.Marshal( c ); err != nil { fmt.Println( err ) } else { fmt.Print( string( out ) ) } + return +-} +\ No newline at end of file ++} |