Skip to content

Commit 152e32e

Browse files
authored
Merge pull request #176 from Flow-Launcher/dev
Release 1.3.1
2 parents ebeb716 + e866820 commit 152e32e

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Diagnostics;
3+
using System.Text;
34
using System.Threading.Tasks;
45
using System.Timers;
56
using System.Windows;
@@ -85,6 +86,8 @@ private void OnStartup(object sender, StartupEventArgs e)
8586

8687
Http.Proxy = _settings.Proxy;
8788

89+
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
90+
8891
RegisterExitEvents();
8992

9093
AutoStartup();

Plugins/Flow.Launcher.Plugin.Calculator/Main.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static Main()
3434
{
3535
MagesEngine = new Engine();
3636
}
37-
37+
3838
public void Init(PluginInitContext context)
3939
{
4040
Context = context;
@@ -78,16 +78,16 @@ public List<Result> Query(Query query)
7878
{
7979
try
8080
{
81-
Clipboard.SetText(newResult);
81+
Clipboard.SetDataObject(newResult);
8282
return true;
8383
}
84-
catch (ExternalException)
84+
catch (ExternalException e)
8585
{
8686
MessageBox.Show("Copy failed, please try later");
8787
return false;
8888
}
8989
}
90-
}
90+
}
9191
};
9292
}
9393
}
@@ -111,7 +111,7 @@ private bool CanCalculate(Query query)
111111
{
112112
return false;
113113
}
114-
114+
115115
if (!IsBracketComplete(query.Search))
116116
{
117117
return false;
@@ -164,7 +164,7 @@ private bool IsBracketComplete(string query)
164164

165165
return leftBracketCount == 0;
166166
}
167-
167+
168168
public string GetTranslatedPluginTitle()
169169
{
170170
return Context.API.GetTranslation("flowlauncher_plugin_caculator_plugin_name");

Plugins/Flow.Launcher.Plugin.Calculator/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Name": "Calculator",
55
"Description": "Provide mathematical calculations.(Try 5*3-2 in Flow Launcher)",
66
"Author": "cxfksword",
7-
"Version": "1.0.0",
7+
"Version": "1.0.1",
88
"Language": "csharp",
99
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
1010
"ExecuteFileName": "Flow.Launcher.Plugin.Caculator.dll",

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![Github All Releases](https://img.shields.io/github/downloads/Flow-Launcher/Flow.Launcher/total.svg)](https://github.com/Flow-Launcher/Flow.Launcher/releases)
88
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Flow-Launcher/Flow.Launcher)](https://github.com/Flow-Launcher/Flow.Launcher/releases/latest)
99
![GitHub Release Date](https://img.shields.io/github/release-date/Flow-Launcher/Flow.Launcher)
10+
[![Discord](https://img.shields.io/discord/727828229250875472?color=7389D8&labelColor=6A7EC2&label=Community&logo=discord&logoColor=white)](https://discord.gg/AvgAQgh)
1011

1112
Flow Launcher. Dedicated to make your workflow flow more seamlessly. Aimed at being more than an app launcher, it searches, integrates and expands on functionalities. Flow will continue to evolve, designed to be open and built with the community at heart.
1213

@@ -59,6 +60,8 @@ Get in touch if you like to join the Flow-Launcher Team and help build this grea
5960

6061
Yes please, submit an issue to let us know.
6162

63+
**Join our community on [Discord](https://discord.gg/AvgAQgh)!**
64+
6265
## Developing/Debugging
6366

6467
Flow Launcher's target framework is .Net Core 3.1

SolutionAssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
[assembly: AssemblyTrademark("")]
1717
[assembly: AssemblyCulture("")]
1818
[assembly: ComVisible(false)]
19-
[assembly: AssemblyVersion("1.3.0")]
20-
[assembly: AssemblyFileVersion("1.3.0")]
21-
[assembly: AssemblyInformationalVersion("1.3.0")]
19+
[assembly: AssemblyVersion("1.3.1")]
20+
[assembly: AssemblyFileVersion("1.3.1")]
21+
[assembly: AssemblyInformationalVersion("1.3.1")]

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '1.3.0.{build}'
1+
version: '1.3.1.{build}'
22

33
init:
44
- ps: |

0 commit comments

Comments
 (0)