v1.1.2 - Alt+Arrow move lines, Ctrl+Shift+M source toggle, code syntax highlighting, outline panel, image spacing fix, daily notes

This commit is contained in:
Yuri Karamian
2026-02-16 23:41:31 +01:00
parent d9fe358e6b
commit 06d53cea66
10 changed files with 422 additions and 15 deletions
+4 -2
View File
@@ -507,6 +507,7 @@ pub fn set_general_settings(
pdf_height: u32,
title_mode: String,
hide_title_in_body: bool,
show_line_numbers: bool,
default_view_mode: bool,
show_tray_icon: bool,
close_to_tray: bool,
@@ -521,6 +522,7 @@ pub fn set_general_settings(
config.pdf_height = pdf_height;
config.title_mode = title_mode;
config.hide_title_in_body = hide_title_in_body;
config.show_line_numbers = show_line_numbers;
config.default_view_mode = default_view_mode;
config.show_tray_icon = show_tray_icon;
config.close_to_tray = close_to_tray;
@@ -1478,8 +1480,6 @@ pub fn get_install_type() -> String {
"macos".to_string()
} else if cfg!(target_os = "windows") {
"windows".to_string()
} else if std::env::var("APPIMAGE").is_ok() {
"appimage".to_string()
} else if std::path::Path::new("/var/lib/dpkg/info/helix-notes.list").exists() {
"deb".to_string()
} else if std::path::Path::new("/var/lib/pacman/local").exists()
@@ -1490,6 +1490,8 @@ pub fn get_install_type() -> String {
.unwrap_or(false)
{
"aur".to_string()
} else if std::env::var("APPIMAGE").is_ok() {
"appimage".to_string()
} else {
"native".to_string()
}