-
-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples for to use it with PowerShell Core #1094
Comments
This... doesn't make sense... you just use |
@cra0zy you can call .net methods using PowerShell. |
Oh, didn't realize that... hmm... need to test this on Linux. |
@SlowLogicBoy Thanks for this comment. That is exactly what I meant. @cra0zy Just for your reference, here is an example for traditional windows.forms library and windows powershell. I am just looking for something to get started. A small form with an input field a few basic controls and a text-field. - That should be sufficient for most cases. Thank you 🙇♂️ |
Thanks for the suggestion! I don't have time to do this myself, but would welcome anyone to look into it and write a wiki page. |
@Juanito99 Sorry for bringing bad news: using ANY GUI framework with Powershell won't work for MacOS bacause of the "GUI must be on main thread" limitation. Please see this issue: ironmansoftware/psavalonia#1 So cross-platform GUI is not possible to achieve when you start with Powershell, but you can create c# app, add Powershell Core as NuGet package and call ps1 scripts from the c#. |
|
Not the case anymore specially on linux since psavalonia works, how is it going? |
Hi there,
could you provide a few simple examples that show how to use it with PowerShell Core?
That would open also cross platform GUIs for sysadmins like me 😀
Thanks in advance
Ruben
The text was updated successfully, but these errors were encountered: