website
website copied to clipboard
Submitting Additional Resources (Articles) for building various Flutter desktop distributions (`.dmg`, `.exe`, `.deb`, `.rpm`)
Page URL
https://docs.flutter.dev/platform-integration
Page source
No response
Describe the problem
I recently published a 3-articles series which provides step-by-step process for creating various distribution builds (.dmg, .exe, .deb, .rpm) that can be distributed the indie way or open source way via GitHub or self-hosting. Distribution via official stores has been extensively documented in the Flutter docs, and these articles will complement the existing docs and provide Flutter developers with resources to learn how to distribute their Flutter desktop apps via distribution methods followed by the open source community.
The articles are not behind any membership wall/paywall and are free to read.
Link to all the articles:
- Series Introduction and Creating macOS .app & .dmg - Link
- Creating Windows .exe installer - Link
- Creating Linux Debian (.deb) & RPM (.rpm) builds - Link
Can I submit a PR to add the links to these articles to the relevant pages of the docs as it would greatly benefit the Flutter community.
So far, the entire article series has been very well received and appreciated by the community (Ref 1, Ref 2, Ref 3).
Expected fix
Adding Article links to the Other resources section of the desktop platforms (Windows, macOS & Linux) inside Platform integration.
They can also go inside the Deployment section, but this section covers the official channels in detail and adding these articles here felt a little out of place to me.
Please do let me know the most relevant section where adding them would benefit Flutter developers the most.
Additional context
No response
I would like to fix this problem.
- [X] I will try and fix this problem on docs.flutter.dev.
Hi @ashitaprasad I think this is best suited to Deployment sections rather than putting them to Platform integration. Let's wait for other other's opinions.
Sure @huycozy It was definitely a bit tricky when I was deciding. To further elaborate on my chain of thought:
-
For macOS: The article goes well in the
Deployment > macOS -
For Windows: If one takes a look at page
Platform integration > Windows > Windows developmentsectionDistributing Windows apps > Building your own zip file for Windows, the section ends withAt this point if desired it would be relatively simple to add this folder to a Windows installer such as Inno Setup, WiX, etc.The Creating Windows .exe installer article actually picks up from here and shows the step by step process of creating the.exefile for distribution. -
For Linux:
Platform integration > Linux > Linux developmenttalks about Preparing Linux apps for distribution. The penultimate paragraph of this section readsTo wrap up this application for distribution you need to include everything in the bundle directory, and make sure the Linux system you are installing it on has all of the system libraries required.and ends withFor information on publishing a Linux application to the Snap Store, see Build and release a Linux application to the Snap Store.The Creating Linux Debian (.deb) & RPM (.rpm) builds article builds up on this section and helps provide the route that can be taken by developers who want to package and distribute via.rpm&.debbuilds instead of snap store. Whereas,Deployment > LinuxcoversBuild and release a Linux app to the Snap Storein detail including theAdditional resourceswhich include snapcraft.io links.
I hope the above points will help in better deciding the relevant sections. Eagerly waiting for everyone's opinion. Thank you!
@dnfield : I think these are good resources. Can we discuss?
Hi @dnfield Can you kindly take a took at the resources and provide your feedback. Thanks!
Hi, @ashitaprasad! These resources do look good and I am ok with your placement of these docs. Please go ahead and submit a PR. thx!
Thank you @sfshaza2 I have raised the PR #10406