tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
83.95k stars 2.52k forks source link

[feat] (AppImage) Offline Build #11468

Open Khalid-Nowaf opened 13 hours ago

Khalid-Nowaf commented 13 hours ago

Describe the problem

Building AppImage in a controlled environment (Offline) controlled.

From a security perspective, the CI has no direct internet connection and must get all dependencies from our cached repositories (npm, cargo, etc.).

We face an issue now with building AppImage since it tries to get some scripts from GitHub.

We would like to build AppImage without the need to depend on remote scripts in Github.

Describe the solution you'd like

Securely build AppImage and I do not depend on scripts from GitHub

Alternatives considered

No response

Additional context

No response

FabianLars commented 11 hours ago

I doubt we can inline everything in the bundler considering how big linuxdeploy is for just one platform.

I'll of course leave this issue open because i think we can still improve the current situation.

As a workaround for now it should work if you just copy the required files into ~/.cache/tauri before building your app.