fixed incorrect autohotkey call

This commit is contained in:
Nickiel12 2021-12-31 09:52:07 -08:00
parent 686ef3c8a2
commit a8fae93858

View file

@ -55,7 +55,7 @@ impl Hotkeys {
pub fn next_slide(&self) {
if cfg!(target_family = "windows") {
Command::new(String::from(AHK_FILES_FOLDER) + "switch_and_send.exe")
Command::new(String::from(AHK_FILES_FOLDER) + "propre_send.exe")
.args([self.hotkeys["windows"]["propresenter_re"].as_str().unwrap(),
self.hotkeys["general"]["clicker_forward"].as_str().unwrap()])
.spawn()
@ -67,7 +67,7 @@ impl Hotkeys {
pub fn prev_slide(&self) {
if cfg!(target_family = "windows") {
Command::new(String::from(AHK_FILES_FOLDER) + "switch_and_send.exe")
Command::new(String::from(AHK_FILES_FOLDER) + "propre_send.exe")
.args([self.hotkeys["windows"]["propresenter_re"].as_str().unwrap(),
self.hotkeys["general"]["clicker_backward"].as_str().unwrap()])
.spawn()