https://github.com/cosmic-utils/wizard
Deb packages installer made with magic for the COSMIC™ desktop!
https://github.com/cosmic-utils/wizard
Last synced: 10 months ago
JSON representation
Deb packages installer made with magic for the COSMIC™ desktop!
- Host: GitHub
- URL: https://github.com/cosmic-utils/wizard
- Owner: cosmic-utils
- License: gpl-3.0
- Created: 2024-09-05T14:42:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-21T17:59:54.000Z (over 1 year ago)
- Last Synced: 2024-10-22T08:49:40.685Z (over 1 year ago)
- Language: Rust
- Size: 306 KB
- Stars: 4
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COSMIC Application Template
A template for developing applications for the COSMIC™ desktop environment.
## Getting Started
Log into your GitHub account and click the "Use this template" button above. This will create a new repository in your account. Choose a name for this repository, and then clone it locally onto your system. Make the following changes after cloning it:
- In `Cargo.toml`, change the `name` and set your `license` and `repository`.
- Create a `LICENSE` file containing your chosen software license.
- Rename the `cosmic_app_template` portion of `i18n/en/cosmic_app_template.ftl` to the new crate `name`.
- In `justfile`, change the `name` and `appid` variables with your own.
- In `src/app.rs`, change the `APP_ID` value in the `Application` implementation of the `AppModel`.
- In `src/app.rs`, change the `REPOSITORY` const with the URL to your application's git repository.
- In `res/app.desktop`, change the `Name=`, `Exec=`, and `Icon=` fields
- Set your license within the SPDX tags at the top of each source file
A [justfile](./justfile) is included by default with common recipes used by other COSMIC projects. Install from [casey/just][just]
- `just` builds the application with the default `just build-release` recipe
- `just run` builds and runs the application
- `just install` installs the project into the system
- `just vendor` creates a vendored tarball
- `just build-vendored` compiles with vendored dependencies from that tarball
- `just check` runs clippy on the project to check for linter warnings
- `just check-json` can be used by IDEs that support LSP
## Documentation
Refer to the [libcosmic API documentation][api-docs] and [book][book] for help with building applications with [libcosmic][libcosmic].
[api-docs]: https://pop-os.github.io/libcosmic/cosmic/
[book]: https://pop-os.github.io/libcosmic-book/
[libcosmic]: https://github.com/pop-os/libcosmic/
[just]: https://github.com/casey/just