Open VPKSoft opened 3 months ago
I suspect it's because the identifier isn't valid for a newer version of gtk. g_application_id_is_valid()
- Application identifiers must contain at least one . (period) character (and thus at least two elements).
I suspect it's because the identifier isn't valid for a newer version of gtk. g_application_id_is_valid()
- Application identifiers must contain at least one . (period) character (and thus at least two elements).
Okay, the note while hovering over the identifier in the tauri.conf.json
sort of says the same thing, only the required part is missing:
The application identifier in reverse domain name notation (e.g. `com.tauri.example`).
This string must be unique across applications since it is used in system configurations like
the bundle ID and path to the webview data directory.
This string must contain only alphanumeric characters (A–Z, a–z, and 0–9), hyphens (-),
and periods (.).
Describe the bug
An app with identifier in the
src-tauri/tauri.conf.json
without a single.
/ dot character causes a program crash in Linux. Working identifier:"identifier": "WhatEver.Identifier",
failing identifier:"identifier": "WhatEverIdentifier",
The program is just a standard template created withnpm create tauri-app@latest -- --beta
command.Reproduction
npm create tauri-app@latest -- --beta
-command with the following selections:src-tauri/tauri.conf.json
to a string without dots (.
characters).npm i
npm run tauri dev
Expected behavior
The program should run and display a window with some content.
Full
tauri info
outputStack trace
Additional context
I have tested that the program works in such case in both Windows and macOS correctly, also this works with Tauri v1 including Linux.