File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
- using System . Diagnostics ;
2
- using System . Net . Http ;
1
+ using System . Net . Http ;
3
2
using System . Net . Http . Headers ;
4
3
using System . Text ;
5
4
using System . Threading . Tasks ;
6
5
using Dalamud . Game . Command ;
7
6
using Dalamud . Game . Gui ;
8
7
using Dalamud . IoC ;
8
+ using Dalamud . Utility ;
9
9
using ImGuiNET ;
10
10
using Newtonsoft . Json . Linq ;
11
11
@@ -102,12 +102,7 @@ private void DrawConfiguration()
102
102
if ( ImGui . Button ( "Get API Key" ) )
103
103
{
104
104
const string apiKeysUrl = "https://beta.openai.com/account/api-keys" ;
105
- var processStartInfo = new ProcessStartInfo
106
- {
107
- UseShellExecute = true ,
108
- FileName = apiKeysUrl
109
- } ;
110
- Process . Start ( processStartInfo ) ;
105
+ Util . OpenLink ( apiKeysUrl ) ;
111
106
}
112
107
113
108
ImGui . Checkbox ( "remove line breaks from responses" , ref configLineBreaks ) ;
Original file line number Diff line number Diff line change 10
10
<AppendTargetFrameworkToOutputPath >false</AppendTargetFrameworkToOutputPath >
11
11
<OutputPath >$(AppData)\Eisenhuth\DalamudDevPlugins\ChatGPTPlugin\</OutputPath >
12
12
<ProduceReferenceAssembly >false</ProduceReferenceAssembly >
13
- <AssemblyVersion >1.0.1.1 </AssemblyVersion >
13
+ <AssemblyVersion >1.0.2.0 </AssemblyVersion >
14
14
<CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
15
15
<RestorePackagesWithLockFile >true</RestorePackagesWithLockFile >
16
16
<PackageProjectUrl >https://github.com/Eisenhuth/dalamud-chatgpt</PackageProjectUrl >
You can’t perform that action at this time.
0 commit comments