feat(release): add static browser builds
This commit is contained in:
1 parent
d9a6655fd9
commit
2bfbe67f47
7 files changed
+323
-5
No files matched your search
@@ -318,6 +318,7 @@ pub fn uninstall_jdbc_plugin(plugins_root: &Path) -> Result<JdbcPluginStatus, St
|
||||
|
||||
// ---- System Fonts ----
|
||||
|
||||
#[cfg(feature = "system-fonts")]
|
||||
pub fn list_system_fonts() -> Vec<String> {
|
||||
let source = font_kit::source::SystemSource::new();
|
||||
match source.all_families() {
|
||||
@@ -335,6 +336,11 @@ pub fn list_system_fonts() -> Vec<String> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "system-fonts"))]
|
||||
pub fn list_system_fonts() -> Vec<String> {
|
||||
vec![]
|
||||
}
|
||||
|
||||
// ---- Internal helpers ----
|
||||
|
||||
fn jdbc_drivers_dir(plugins_root: &Path) -> PathBuf {
|
||||
|
||||
Reference in new issue
Block a user