refactor: share app id and name via paths crate
This commit is contained in:
@@ -28,6 +28,7 @@ icons = [
|
||||
|
||||
[dependencies]
|
||||
metadata = { path = "../crates/metadata" }
|
||||
paths = { path = "../crates/paths" }
|
||||
settings = { path = "../crates/settings" }
|
||||
signed_app = { path = "../crates/signed_app" }
|
||||
signed_state = { path = "../crates/signed_state" }
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ fn main() {
|
||||
]);
|
||||
|
||||
cx.on_action(|_: &Quit, cx| cx.quit());
|
||||
cx.set_app_identity("build.signed.signed", "Signed");
|
||||
cx.set_app_identity(paths::APP_ID, paths::APP_NAME);
|
||||
|
||||
ui::init(cx);
|
||||
metadata::init(cx);
|
||||
|
||||
Reference in New Issue
Block a user