mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Added a script for replacing the credentials via the environment variables which can be set before the build. Changed the way the build works, only if private-credentials files are stored they will be used where before there would be an error if none were available.
The current credentials files now have replacement tokens, a build without replacement will work but the credentials will be invalid.
This commit is contained in:
parent
4a22a01d31
commit
848c77890a
13 changed files with 77 additions and 176 deletions
|
@ -22,10 +22,10 @@
|
|||
namespace GreenshotDropboxPlugin {
|
||||
/// <summary>
|
||||
/// This class is merely a placeholder for the file keeping the API key and secret for dropbox integration.
|
||||
/// Copy this file to DropBoxCredentials.private.cs and fill in valid credentials. (Or empty strings, but of course you won't be able to use the DropBox plugin then.)
|
||||
/// You can set your own values here
|
||||
/// </summary>
|
||||
public static class DropBoxCredentials {
|
||||
public static string CONSUMER_KEY = empty;
|
||||
public static string CONSUMER_SECRET = empty;
|
||||
public static string CONSUMER_KEY = "@credentials_dropbox_consumer_key@";
|
||||
public static string CONSUMER_SECRET = "@credentials_dropbox_consumer_secret@";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue