mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
generate local .desktop file so it shows among apps in linux desktop environments
This commit is contained in:
@@ -5,6 +5,7 @@ const fs = require('fs');
|
||||
const RESOURCE_DIR = path.resolve(__dirname, "../..");
|
||||
|
||||
const DB_INIT_DIR = path.resolve(RESOURCE_DIR, "db");
|
||||
const APP_PNG_ICON_DIR = path.resolve(RESOURCE_DIR, "src/public/images/app-icons/png");
|
||||
|
||||
if (!fs.existsSync(DB_INIT_DIR)) {
|
||||
log.error("Could not find DB initialization directory: " + DB_INIT_DIR);
|
||||
@@ -21,5 +22,6 @@ if (!fs.existsSync(MIGRATIONS_DIR)) {
|
||||
module.exports = {
|
||||
RESOURCE_DIR,
|
||||
MIGRATIONS_DIR,
|
||||
DB_INIT_DIR
|
||||
DB_INIT_DIR,
|
||||
APP_PNG_ICON_DIR
|
||||
};
|
||||
Reference in New Issue
Block a user