fix
This commit is contained in:
parent
541e99b1b2
commit
2397108f63
|
|
@ -379,10 +379,7 @@ MimeType=x-scheme-handler/syntax-player;", latest_bootstrapper_path.to_str().unw
|
||||||
|
|
||||||
let desktop_file_path = "/usr/share/applications/syntax-player.desktop";
|
let desktop_file_path = "/usr/share/applications/syntax-player.desktop";
|
||||||
|
|
||||||
let mut file = File::create(desktop_file_path).expect("Unable to create desktop file");
|
std::fs::write(desktop_file_path, desktop_file_content).unwrap();
|
||||||
file.write_all(desktop_file_content.as_bytes())
|
|
||||||
.expect("Unable to write to desktop file");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write the AppSettings.xml file
|
// Write the AppSettings.xml file
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue