From 69e6b38b93b4034f9ad2e676073e50381b5b431d Mon Sep 17 00:00:00 2001 From: mohamed ali Date: Fri, 15 Oct 2021 15:00:20 +0200 Subject: [PATCH] tested on ubuntu --- J2dConsole/Program.cs | 2 +- README.md | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/J2dConsole/Program.cs b/J2dConsole/Program.cs index b9a9559..6310786 100644 --- a/J2dConsole/Program.cs +++ b/J2dConsole/Program.cs @@ -13,7 +13,7 @@ public class Program public static async Task Main(string[] args) { //args = new string[] {"-i" }; - Console.WriteLine("DartToJson version 1.0.1"); + Console.WriteLine("JsonToDart version 1.0.2"); // if(args.Length == 0) { diff --git a/README.md b/README.md index f76cd71..0ade515 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,14 @@ to run it, open the CMD, go to the app folder, and write `j2d`, you will see hel For MacOS the app is available as console only, with the same options available for windows console -to run it, open the Terminal app, go to the app folder, write `dotnet j2d.dll`, you will see the help text +to run it, install `dotnet 5`, open the Terminal app, go to the app folder, write `dotnet j2d.dll`, you will see the help text ### Linux -it should be easy to compile the console app for linux, but it's not yet tested :) +For the clipboard to work in Linux, it requires [xsel](https://github.com/kfish/xsel), to install in Ubuntu, use the following command + +``` +apt-get install xsel +``` + +then install `dotnet 5`, open the Terminal app, go to the app folder, write `dotnet J2d.dll`, you will see the help text \ No newline at end of file