archivebate work and pornxp returned

This commit is contained in:
Simon
2026-04-14 16:58:04 +00:00
parent 765a21c110
commit fe5cf9a42f
6 changed files with 1091 additions and 5 deletions

View File

@@ -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(),
};