mirror of
https://github.com/house-of-vanity/swkb.git
synced 2025-07-07 03:14:06 +00:00
rename instance
This commit is contained in:
@ -16,7 +16,7 @@ fn get_input_id(c: &mut Connection) -> Vec<String> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Fallible<()> {
|
fn main() -> Fallible<()> {
|
||||||
let instance_a = single_instance::SingleInstance::new("whatever").unwrap();
|
let instance_a = single_instance::SingleInstance::new("swkb").unwrap();
|
||||||
if !instance_a.is_single() {
|
if !instance_a.is_single() {
|
||||||
println!("only one instance of swkb at a time is allowed");
|
println!("only one instance of swkb at a time is allowed");
|
||||||
std::process::exit(1);
|
std::process::exit(1);
|
||||||
|
Reference in New Issue
Block a user