Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/distribution/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,32 @@ the resource file. For example, if you need to make an application package for `
and the `resources.neu` file. The `resources.neu` contains all application resources, so, double click on the binary and check whether
the resource file is not corrupted.


## Launch application on macOS

1. Open the **Terminal** and type the following command:
```bash
sudo xattr -d -r com.apple.quarantine /path_to_app_filename
```
2. Type the following command to make the file executable:
```bash
chmod +x /path_to_app_filename
```

## Launch application on Linux

1. Launch the Linux shell and execute the following commands to install the necessary `webkit2gtk`:
```bash
sudo apt-get update
```
```bash
sudo apt install libwebkit2gtk-4.1-0
```
2. Type the following command to make the file executable:
```bash
chmod +x ./path_to_app_filename
```

## Creating portable application packages using build scripts

The [`hschneider/neutralino-build-scripts`](https://github.com/hschneider/neutralino-build-scripts/) community project offers pre-developed build scripts for generating platform-specific application bundles. For example, it generates a standard app structure on GNU/Linux by generating `.desktop` file with app icon by also providing a shell script to install the app.
Expand Down