-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Added possibility to specify platform for dev command #2724
Conversation
b259ce2
to
94039df
Compare
Hi! Thanks for taking the time to open this. Could you please open a ticket and detail the scenarios in which this might be used? I'm not familiar with wsl or what this use case looks like. Thanks! 🙏 |
Please stop. |
@leaanthony This would actually be super useful. Currently wails dev run through WSL loads a Linux app which looks poor is annoying to interact with and doesn't work in some cases where Linux GUI apps are not supported in WSL. If we could instead direct dev to launch a windows app, that would be way better. |
What's the advantage of Dev in WSL vs just plain windows? Windows is by far the better supported platform. |
It's widely accepted that working and coding in Linux is a far superior platform and experience for a variety of reasons. For those of us who need or want Linux but still need some of the features of windows for daily use then WSL allows us to have the best of both worlds. This would be a very long comment if you want me to explain why WSL is useful or beneficial, but myself and many others, have been using it for years. |
Thanks 🙏 Please could you add an entry to the changelog located at |
@evsign Can you finish this one off plz. 🙏 |
@leaanthony Would need a rebase by now. Perhaps we either just copy the changes into a new PR and close this one. Or just close as this is in v3 already anyway? |
If you want to take over this PR we could look at it? |
@leaanthony Sure. Just need to update feature/dev-platform correct? |
Created working copy: #3117 |
Closing in favour of: #3117 |
Description
During development under Wsl, there is currently no way to use the
wails dev
command to build a Windows executable and I thought that it would be nice and convenient to have such. These changes allow specifying the platform for thewails dev
command. Example:wails dev --platform=windows
.Currently, there is no open issue for this feature. If it needs to be created, please let me know, and I'll create it.
Type of change