Rust backend: SQLite (WAL mode, 8 tables), vault encryption (Argon2id + AES-256-GCM), settings/connections/credentials services, 19 Tauri command wrappers. 46/46 tests passing. Vue 3 frontend: unlock/create vault flow, Pinia app store, Tailwind CSS v4 dark theme with Wraith branding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
29 lines
842 B
JavaScript
29 lines
842 B
JavaScript
let parts = [process.platform, process.arch];
|
|
if (process.platform === 'linux') {
|
|
const { MUSL, familySync } = require('detect-libc');
|
|
const family = familySync();
|
|
if (family === MUSL) {
|
|
parts.push('musl');
|
|
} else if (process.arch === 'arm') {
|
|
parts.push('gnueabihf');
|
|
} else {
|
|
parts.push('gnu');
|
|
}
|
|
} else if (process.platform === 'win32') {
|
|
parts.push('msvc');
|
|
}
|
|
|
|
if (process.env.CSS_TRANSFORMER_WASM) {
|
|
module.exports = require(`../pkg`);
|
|
} else {
|
|
try {
|
|
module.exports = require(`lightningcss-${parts.join('-')}`);
|
|
} catch (err) {
|
|
module.exports = require(`../lightningcss.${parts.join('-')}.node`);
|
|
}
|
|
}
|
|
|
|
module.exports.browserslistToTargets = require('./browserslistToTargets');
|
|
module.exports.composeVisitors = require('./composeVisitors');
|
|
module.exports.Features = require('./flags').Features;
|