electron: Fix translations in packaged builds

pull/480/head
Elian Doran 2024-10-12 19:40:54 +07:00
parent 9ec2508f09
commit 8ae5f9ea9b
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

@ -75,7 +75,11 @@ module.exports = {
function getExtraResourcesForPlatform() {
let resources = ['dump-db/', './bin/tpl/anonymize-database.sql']
let resources = [
'dump-db/',
'./bin/tpl/anonymize-database.sql',
'translations/'
];
const scripts = ['trilium-portable', 'trilium-safe-mode', 'trilium-no-cert-check']
switch (process.platform) {
case 'win32':