Skip to content

Commit

Permalink
tested on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed ali committed Oct 15, 2021
1 parent f67b3be commit 69e6b38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion J2dConsole/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 69e6b38

Please sign in to comment.