Compare commits

..

No commits in common. "main" and "Release-1-3-4-2" have entirely different histories.

1 changed files with 4 additions and 2 deletions

View File

@ -298,7 +298,8 @@ Terminal=true
Version={} Version={}
MimeType=x-scheme-handler/syntax-player;", latest_bootstrapper_path.to_str().unwrap(), latest_bootstrapper_path.to_str().unwrap(), env!("CARGO_PKG_VERSION")); MimeType=x-scheme-handler/syntax-player;", latest_bootstrapper_path.to_str().unwrap(), latest_bootstrapper_path.to_str().unwrap(), env!("CARGO_PKG_VERSION"));
let desktop_file_path = dirs::data_local_dir().unwrap().join("applications").join("syntax-player.desktop"); let desktop_file_path = "~/.local/share/applications/syntax-player.desktop";
std::fs::write(desktop_file_path, desktop_file_content).unwrap(); std::fs::write(desktop_file_path, desktop_file_content).unwrap();
info("Please launch SYNTAX from the website, to continue with the update process."); info("Please launch SYNTAX from the website, to continue with the update process.");
@ -389,7 +390,8 @@ Terminal=true
Version={} Version={}
MimeType=x-scheme-handler/syntax-player;", latest_bootstrapper_path.to_str().unwrap(), latest_bootstrapper_path.to_str().unwrap(), env!("CARGO_PKG_VERSION")); MimeType=x-scheme-handler/syntax-player;", latest_bootstrapper_path.to_str().unwrap(), latest_bootstrapper_path.to_str().unwrap(), env!("CARGO_PKG_VERSION"));
let desktop_file_path = dirs::data_local_dir().unwrap().join("applications").join("syntax-player.desktop"); let desktop_file_path = "~/.local/share/applications/syntax-player.desktop";
std::fs::write(desktop_file_path, desktop_file_content).unwrap(); std::fs::write(desktop_file_path, desktop_file_content).unwrap();
} }