-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 Add bundle assets for the example app
The example application currently has no assets, not even an icon that can be used. This changes it to now actually use a specified icon file in the project's `Cargo.toml` and leverages `cargo-bundle` in the process. Very basic icons are checked in as well for this.
- Loading branch information
1 parent
b1fc91b
commit a3e13e4
Showing
4 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,14 @@ | |
[package] | ||
name = "example" | ||
description = "A small demo using the alloy-rs engine" | ||
version.workspace = true | ||
authors.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
version = "0.1.0" | ||
authors = [ | ||
"Matthew Rodusek <[email protected]>" | ||
] | ||
license = "MIT OR Apache-2" | ||
categories = [] | ||
keywords = [] | ||
keywords = ["example", "demo"] | ||
repository.workspace = true | ||
edition.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
@@ -22,3 +24,26 @@ toast = { path = "../frameworks/toast" } | |
|
||
[build-dependencies] | ||
build = { path = "../frameworks/build" } | ||
|
||
[package.metadata.bundle] | ||
name = "AlloyExample" | ||
identifier = "com.rodusek.alloy.example" | ||
icon = ["assets/icon/32x32.png", "assets/icon/128x128.png", "assets/icon/[email protected]"] | ||
version = "1.0.0" | ||
resources = ["assets", "images/**/*.png", "secrets/public_key.txt"] | ||
copyright = "Copyright (c) Matthew Rodusek 2023. All rights reserved." | ||
category = "Developer Tool" | ||
short_description = "An example alloy-rs application." | ||
long_description = """ | ||
An example alloy-rs application illustrating some of the features of the | ||
engine. | ||
""" | ||
osx_frameworks = [ | ||
"CoreAudio", | ||
"AudioToolbox", | ||
"CoreFoundation", | ||
"Cocoa", | ||
"IOKit", | ||
"OpenGL", | ||
] | ||
osx_url_schemes = ["com.rodusek.alloy.example"] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.