@ -267,7 +267,7 @@ This will build the project and start the application in production mode.
## Troubleshooting
## Troubleshooting
<details>
<details>
<summary>The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now.</summary>
<summary><em>The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now.</em></summary>
This error is caused by the [Electron](https://www.electronjs.org/) sandbox not being able to run. This is a security feature and not a bug. You can run the application with the `--no-sandbox` flag to disable this behavior.
This error is caused by the [Electron](https://www.electronjs.org/) sandbox not being able to run. This is a security feature and not a bug. You can run the application with the `--no-sandbox` flag to disable this behavior.
<summary><em>Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.</em></summary>
We use the `python3` command for many of our scripts. If you have installed Python using [Chocolatey](https://chocolatey.org/), you will need to create an alias for `python3` that points to `python`. Alternatively, you can update the scripts to use `python` instead of `python3`.
</details>
## Hot reloading
## Hot reloading
More often than not, you'll need to restart the application regularly to see your changes, as there
More often than not, you'll need to restart the application regularly to see your changes, as there
[./util/sortJson.py](./util/sortJson.py) sorts a given JSON file.
[./util/sortJson.py](./util/sortJson.py) sorts a given JSON file.
```bash
```bash
python ./tools/util/sortJson.py <file>
python3 ./tools/util/sortJson.py <file>
```
```
## Localization
## Localization
@ -40,20 +40,20 @@ searches in the following directories:
- `./ts/`
- `./ts/`
```bash
```bash
python ./tools/findString.py <token>
python3 ./tools/findString.py <token>
```
```
The script can automatically open the files in VSCode by passing the `--open` flag.
The script can automatically open the files in VSCode by passing the `--open` flag.
```bash
```bash
python ./tools/findString.py <token> --open
python3 ./tools/findString.py <token> --open
```
```
> [!WARNING]
> [!WARNING]
> The --open flag will open only the first result for the token in VSCode. If you wish to open more files, you can pass the `--limit` flag with the maximum number of files you wish to open. You can also pass the `--limit 0` flag to open all files containing the token.
> The --open flag will open only the first result for the token in VSCode. If you wish to open more files, you can pass the `--limit` flag with the maximum number of files you wish to open. You can also pass the `--limit 0` flag to open all files containing the token.