ospfranco / sol

MacOS launcher & command palette
MIT License
1.92k stars 89 forks source link

Windows compatibility #38

Closed kubilaysalih closed 2 years ago

kubilaysalih commented 2 years ago

Added windows compatibility with basic features.

There is still a lot of work to be done but at least we can open application and navigate to main screen. alt text

In release mode, one of our react components is causing trouble and crashing the application. I couldnt figure out which one, we need to investigate.

To run the project locally, open the sol.sln file with Visual Studio and mark ApplicationPackage as Startup Project.

Due to the UWP architecture, what we can do with react native windows is very limited, we cant even change theme, but I implemented a workaround thanks to @StefanWickDev https://stefanwick.com/2018/04/06/uwp-with-desktop-extension-part-1/

I think we cannot fully implement macos features in windows, because of UWP limitations, but at least it will be a project that shows what we can do with react native windows.

kubilaysalih commented 2 years ago

I cloned the project from scratch and tested it on windows and mac. I did not see any errors. The project includes inner communication and native module registration. I think other developers can help us from now on.