build: Fix extra resources for macos

This commit is contained in:
Elian Doran 2024-08-10 12:23:26 +03:00
parent a29392e75a
commit 8cc583e714
No known key found for this signature in database

View File

@ -15,7 +15,7 @@ module.exports = {
for (const resource of extraResources) {
let sourcePath;
if (platform === 'darwin') {
sourcePath = path.join(buildPath, 'TriliumNextNotes.app', 'Content', 'Resources', path.basename(resource));
sourcePath = path.join(buildPath, 'TriliumNextNotes.app', 'Contents', 'Resources', path.basename(resource));
} else {
sourcePath = path.join(buildPath, 'resources', path.basename(resource));
}