archivebate work and pornxp returned
This commit is contained in:
12
build.rs
12
build.rs
@@ -11,6 +11,11 @@ struct ProviderDef {
|
||||
}
|
||||
|
||||
const PROVIDERS: &[ProviderDef] = &[
|
||||
ProviderDef {
|
||||
id: "pornxp",
|
||||
module: "pornxp",
|
||||
ty: "PornxpProvider",
|
||||
},
|
||||
ProviderDef {
|
||||
id: "all",
|
||||
module: "all",
|
||||
@@ -261,6 +266,11 @@ const PROVIDERS: &[ProviderDef] = &[
|
||||
module: "chaturbate",
|
||||
ty: "ChaturbateProvider",
|
||||
},
|
||||
ProviderDef {
|
||||
id: "archivebate",
|
||||
module: "archivebate",
|
||||
ty: "ArchivebateProvider",
|
||||
},
|
||||
];
|
||||
|
||||
fn main() {
|
||||
@@ -360,7 +370,7 @@ fn main() {
|
||||
|
||||
let selection = match selected.as_deref() {
|
||||
Some(selected_id) => format!(
|
||||
"pub const COMPILE_TIME_SELECTED_PROVIDER: Option<&str> = Some(\"{selected_id}\");"
|
||||
"pub const COMPILE_TIME_SELECTED_PROVIDER: Option<&str> = Some(\"{selected_id}\");",
|
||||
),
|
||||
None => "pub const COMPILE_TIME_SELECTED_PROVIDER: Option<&str> = None;".to_string(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user