mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Get rid of embedded browser (#255)
This change makes it possible to use Box, DropBox and Imgur with the default browser, instead of the embedded which causes many issues. Other plugins need to follow.
This commit is contained in:
parent
ecb1b91ae7
commit
19fb98ae55
71 changed files with 4037 additions and 3542 deletions
|
@ -21,10 +21,10 @@
|
|||
|
||||
using GreenshotPlugin.Core;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Runtime.Serialization.Json;
|
||||
using System.Text;
|
||||
using GreenshotPlugin.Core.OAuth;
|
||||
using GreenshotPlugin.IniFile;
|
||||
|
||||
namespace GreenshotBoxPlugin {
|
||||
|
@ -73,9 +73,8 @@ namespace GreenshotBoxPlugin {
|
|||
CloudServiceName = "Box",
|
||||
ClientId = BoxCredentials.ClientId,
|
||||
ClientSecret = BoxCredentials.ClientSecret,
|
||||
RedirectUrl = "https://www.box.com/home/",
|
||||
BrowserSize = new Size(1060, 600),
|
||||
AuthorizeMode = OAuth2AuthorizeMode.EmbeddedBrowser,
|
||||
RedirectUrl = "https://getgreenshot.org/authorize/box",
|
||||
AuthorizeMode = OAuth2AuthorizeMode.JsonReceiver,
|
||||
RefreshToken = Config.RefreshToken,
|
||||
AccessToken = Config.AccessToken,
|
||||
AccessTokenExpires = Config.AccessTokenExpires
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue