19 releases
new 0.3.8 | Oct 17, 2024 |
---|---|
0.3.7 | Oct 15, 2024 |
0.3.3 | Sep 29, 2024 |
0.2.6 | Sep 15, 2024 |
0.1.1 | Aug 20, 2024 |
#133 in Games
1,535 downloads per month
69KB
1K
SLoC
Rocket League Hours Tracker
This was made specifically for the Epic Games version of Rocket League as the Epic Games launcher has no way of showing the past two hours played in the same way that steam is able to.
However, this program can and should still work with the steam version of the game.
It is HIGHLY
recommended to not manually alter the files that are created by this program
otherwise it could lead to unwanted behaviour by the program
println!("You got it Oneil :)");
Installing the program
- You can find the latest installer for the program in Releases section.
- After downloading the installer, run the installer
- You may get a windows popup warning after opening the installer, but you can press 'more info' and select 'Run anyway' in order to run the installer.
- After the program is installed, you should be able to run the program via the desktop shortcut.
lib.rs
:
Rocket League Hours Tracker
This was made specifically for the Epic Games version of Rocket League as the Epic Games launcher has no way of showing the past two hours played in the same way that steam is able to.
However, this program can and should still work with the steam version of the game.
It is HIGHLY
recommended to not manually alter the files that are created by this program
otherwise it could lead to unwanted behaviour by the program
println!("You got it Oneil :)");
Library
The Rocket League Hours Tracker library contains modules which provide additional
functionality to the Rocket League Hours Tracker binary. This library is currently
implements the website_files
module, which provides the functionality to generate
the Html, CSS, and JavaScript for the Rocket League Hours Tracker website.
The website functionality takes adavantage of the build_html
library, which allows us
to generate the Html for the website, alongside the webbrowser
library, which allows us
to open the website in a browser.
Use Case
Within the website_files
module, there is a public function website_files::generate_website_files
,
which writes the files for the website in the website directory in RlHoursFolder
. This function accepts a
bool
value, which determines whether the option to open the website in a browser should appear when this
function is called.
use rl_hours_tracker::website_files;
// This will generate the website files and prompt you with the option to open the
// webstie in a browser.
website_files::generate_website_files(true);
// This will also generate the website but will not prompt the user to open the website
// in a browser.
website_files::generate_website_files(false);
Dependencies
~13–28MB
~379K SLoC