From f099a7b200de8720d341db0a870baca76e613220 Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Tue, 19 Mar 2024 09:58:12 -0700 Subject: [PATCH] Update ron location --- README.md | 2 +- data/applications.ron => applications.ron | 0 src/main.rs | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename data/applications.ron => applications.ron (100%) diff --git a/README.md b/README.md index f7dbf2b..58401ca 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@ A collection of COSMIC applications developed by the community. | [cosmic-todo](https://github.com/edfloreshz/cosmic-todo) | A simple to-do app for the COSMIC desktop. | cosmic-todo | | [fan-control](https://github.com/wiiznokes/fan-control) | Control your fans with different behaviors. | fan-control | ## How to add your applet? -To add your applet to this list, please open a pull request with your applet added to the `applets.ron` file and an image of your applet in the `img` folder named after your applet. +To add your applet to this list, please open a pull request with your applet added to the `applications.ron` file. diff --git a/data/applications.ron b/applications.ron similarity index 100% rename from data/applications.ron rename to applications.ron diff --git a/src/main.rs b/src/main.rs index 8db449d..1d07a52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ struct Applications { } fn main() -> anyhow::Result<()> { - let data = include_str!("../data/applications.ron"); + let data = include_str!("../applications.ron"); let mut readme = String::new(); let applications: Applications = ron::from_str(data)?; @@ -30,7 +30,7 @@ fn main() -> anyhow::Result<()> { } readme.push_str("## How to add your applet?\n"); - readme.push_str("To add your applet to this list, please open a pull request with your applet added to the `applets.ron` file and an image of your applet in the `img` folder named after your applet.\n"); + readme.push_str("To add your applet to this list, please open a pull request with your applet added to the `applications.ron` file.\n"); std::fs::write("README.md", readme)?;