diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-22 08:11:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 08:11:59 +0200 |
commit | 84cb421f13cf1a1f1b47cff6866c378972270c37 (patch) | |
tree | a21f203888272be15f9356d6c4919ab5baee0d05 /src-tauri/src/main.rs | |
parent | 576dd0a9d2152ffcc15d746a6c537e2d68d0d5eb (diff) | |
download | FlightCore-84cb421f13cf1a1f1b47cff6866c378972270c37.tar.gz FlightCore-84cb421f13cf1a1f1b47cff6866c378972270c37.zip |
refactor: Change error messages and function names to EA App (#362)
* refactor: Change error message to mention EA App
instead of Origin
* refactor: Rename function to refer to EA App
* refactor: Rename function to mention EA and Origin
* style: Fix formatting
* refactor: Update translation text to EA App
* refactor: Change emit name to EA App
instead of Origin
* docs: Update comment to mention EA App
Diffstat (limited to 'src-tauri/src/main.rs')
-rw-r--r-- | src-tauri/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index b27233b7..6004531a 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -93,7 +93,10 @@ fn main() { loop { sleep(Duration::from_millis(2000)).await; app_handle - .emit_all("origin-running-ping", util::check_origin_running()) + .emit_all( + "ea-app-running-ping", + util::check_ea_app_or_origin_running(), + ) .unwrap(); } }); |