mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Rename SIXTYFPS_EMBED_RESOURCES environment variable
This commit is contained in:
parent
017da5b3b4
commit
7382ea1f2c
3 changed files with 4 additions and 4 deletions
|
@ -74,10 +74,10 @@ pub struct CompilerConfiguration {
|
|||
|
||||
impl CompilerConfiguration {
|
||||
pub fn new(output_format: crate::generator::OutputFormat) -> Self {
|
||||
let embed_resources = match std::env::var("SIXTYFPS_EMBED_RESOURCES") {
|
||||
let embed_resources = match std::env::var("SLINT_EMBED_RESOURCES") {
|
||||
Ok(var) => {
|
||||
var.parse().unwrap_or_else(|_|{
|
||||
panic!("SIXTYFPS_EMBED_RESOURCES has incorrect value. Must be either unset, 'true' or 'false'")
|
||||
panic!("SLINT_EMBED_RESOURCES has incorrect value. Must be either unset, 'true' or 'false'")
|
||||
})
|
||||
}
|
||||
Err(_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue