mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-03 05:57:47 +08:00
electron: Fix translations in packaged builds
This commit is contained in:
parent
9ec2508f09
commit
8ae5f9ea9b
@ -75,7 +75,11 @@ module.exports = {
|
|||||||
|
|
||||||
|
|
||||||
function getExtraResourcesForPlatform() {
|
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']
|
const scripts = ['trilium-portable', 'trilium-safe-mode', 'trilium-no-cert-check']
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case 'win32':
|
case 'win32':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user