Skip to content
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

Docs/develop in flatpak sandbox #2525

Draft
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

DadiBit
Copy link

@DadiBit DadiBit commented Aug 9, 2024

Description

  • What does this PR change? Give us a brief description.
    This adds the two steps required to develop and build a tauri app within a Flatpak IDE (or sandboxed app more generically)
  • Closes #

This is **not** for building a Flatpak app, but rather, how to build/develop the Tauri app within a Flatpak IDE/app - using the correct runtime to access the WebKit GTK SDK.
@DadiBit DadiBit requested a review from a team as a code owner August 9, 2024 18:28
Copy link

netlify bot commented Aug 9, 2024

Deploy Preview for tauri-v2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 094a828
🔍 Latest deploy log https://app.netlify.com/sites/tauri-v2/deploys/66b65fb3a1dd6900084ab794
😎 Deploy Preview https://deploy-preview-2525--tauri-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@FabianLars
Copy link
Member

FabianLars commented Aug 9, 2024

Hi, thanks for the PR! I think this needs more explanation (context of when this is needed for example). I only know why you need it because I received a mail notification for your stack overflow question 😅

Edit: I'm on the road rn so can't give proper suggestions for a while, sry

@DadiBit DadiBit marked this pull request as draft August 9, 2024 19:12
@DadiBit
Copy link
Author

DadiBit commented Aug 9, 2024

Hi, thanks for the PR! I think this needs more explanation (context of when this is needed for example).

I actually avoided the VSCodium example to avoid "advertising", however, if you consider it could be beneficial I can update the docs in little time.

I usually run it like this: flatpak run --runtime=org.gnome.Sdk//45 com.vscodium.codium

I only know why you need it because I received a mail notification for your stack overflow question 😅

That's wild! 😆

As a sidenote: you must also install the node.js SDK and enable it (not straightforward), however, node.js is not present in the prerequisites of other environments.

Perhaps I could write a dedicated paragraph instead of a tab near Debian/Fedora/etc. Wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗️ In progress
Development

Successfully merging this pull request may close these issues.

2 participants