DiffEngine
DiffEngine copied to clipboard
Osx tray
@HEskandari replacement PR
i got it building on CI, but 3 failing tests on mac. https://ci.appveyor.com/project/SimonCropp/diffengine/builds/35930418/job/q3vhl95r7uhbirhe/tests i will try to debug them tomorrow
@HEskandari actually we seem to have some build errors
/Users/appveyor/projects/diffengine/src/DiffEngineTray.Mac/DiffEngineTray.Mac.csproj(123,5): error MSB4019:
The imported project "/usr/local/share/dotnet/sdk/5.0.100-preview.5.20279.10/Xamarin/Mac/Xamarin.Mac.CSharp.targets"
was not found. Confirm that the expression in the Import declaration
"/usr/local/share/dotnet/sdk/5.0.100-preview.5.20279.10//Xamarin/Mac/Xamarin.Mac.CSharp.targets" is correct, and that the file exists on disk.
any ideas on how to get xamarin working on appveyor
@SimonCropp hmmm why is it using .NET 5 SDK?
According to this, that is the latest version of the .NET installed on their macos agents. I think we may need to lock it down to 3.1 (e.g. .NET Core SDK 3.1.300) with a global.json file?
any plans to release the osx one, or will the tool remain windows only?
@kaylumah i would really like to. unfortunately at the moment i dont have a mac to develop on. so as u can imagine that makes building an maintaining this difficult. i plan to make my next dev machine a max, but that wont happen for a few months
in the short term, if u r using rider you can use https://plugins.jetbrains.com/plugin/17240-verify-support
Oh yeah, I can imagine. Loving your library more and more, so if there is anything I can do to help please let me know
The cross-platform library I was using for the tray app had some issues that had to be fixed first. I'll give this another go in a couple of weeks and see if it can be done now.
For reference, here's the repo I'm working off of. Got some success with the latest of the UI toolkit on the mac. Needs more testing, add packaging for mac and windows and add some configurations to allow supporting .NET and Golang solutions.
@HEskandari thats awesome
@SimonCropp @kaylumah I have an alpha release out available here. Needs some minor work but the bulk of it is working on my mac (Ventura). Let me know if you have an issue. Note that I don't have a cert to sign the app so you may need allow it to run.
@HEskandari could it be deployed as a dotnet tool ?
The output of the build are two artifacts:
- A binary file that you can run on mac (via terminal) which will launch the tray app.
- A wrapper around the binary file to turn it into a ".app" Application (which is some added meta-data, icons, etc.)
If you want to install it as an Application in MacOs, you want the .app format, but theoretically, the binary is a mac-native binary so can be invoked by anything. You probably know that you can extract the binary by opening the '.app' file as a folder (via terminal or right-click -> "Show Package Content" and then copying the binary from the MacOS folder).
@HEskandari do u want your diff tray to be part of the main verify project? ie part of the DNF
@SimonCropp ultimately yes, I think. There are a few things I haven't coded yet (like having more than 20 diff files). I need to figure out packaging and do a bit more testing. You may want to keep the DiffEngine tray app for some time for this to become more mature.