Rename Cargo crate to open_pencil, binary to OpenPencil
Fixes macOS Dock showing 'open-pencil-app' instead of 'OpenPencil'.
This commit is contained in:
parent
faf7ba6387
commit
f7d1d59dc1
2
desktop/Cargo.lock
generated
2
desktop/Cargo.lock
generated
|
|
@ -2356,7 +2356,7 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "open-pencil-app"
|
||||
name = "open_pencil"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "open-pencil-app"
|
||||
name = "open_pencil"
|
||||
version = "0.1.0"
|
||||
description = "A Tauri App"
|
||||
authors = ["you"]
|
||||
|
|
@ -7,11 +7,12 @@ edition = "2021"
|
|||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[[bin]]
|
||||
name = "OpenPencil"
|
||||
path = "src/main.rs"
|
||||
|
||||
[lib]
|
||||
# The `_lib` suffix may seem redundant but it is necessary
|
||||
# to make the lib name unique and wouldn't conflict with the bin name.
|
||||
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
||||
name = "open_pencil_app_lib"
|
||||
name = "open_pencil_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
[build-dependencies]
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
fn main() {
|
||||
open_pencil_app_lib::run()
|
||||
open_pencil_lib::run()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue