mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-11 05:57:07 +03:00
* fix missing newline in desktop file generation * add change file for PR #998
This commit is contained in:
parent
3005204a31
commit
37bcf5fea1
5
.changes/998-bundler-newline.md
Normal file
5
.changes/998-bundler-newline.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
add a newline after Categories in deb .desktop file generation to fix issues #899 and #925.
|
@ -193,7 +193,7 @@ fn generate_desktop_file(settings: &Settings, data_dir: &Path) -> crate::Result<
|
||||
writeln!(file, "[Desktop Entry]")?;
|
||||
writeln!(file, "Encoding=UTF-8")?;
|
||||
if let Some(category) = settings.app_category() {
|
||||
write!(file, "Categories={}", category.gnome_desktop_categories())?;
|
||||
writeln!(file, "Categories={}", category.gnome_desktop_categories())?;
|
||||
}
|
||||
if !settings.short_description().is_empty() {
|
||||
writeln!(file, "Comment={}", settings.short_description())?;
|
||||
|
Loading…
Reference in New Issue
Block a user