-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I've encountered a potential compatibility issue when running Nugget App on Windows.
Problem Description:
On Windows, the application appears to have trouble handling media file paths correctly. This likely results in errors when attempting to load or process video and image files. The issue seems to stem from the way file paths are constructed or interpreted, potentially due to the differences in path separators between Windows (backslashes ) and other operating systems (forward slashes /).
Proposed Solution:
I've found that normalizing the media path using the path.normalize() function from Node.js's built-in path module resolves this issue on Windows.
// ... Code to get the media file path ...
const normalizedPath = path.normalize(mediapath);
// ... Use normalizedPath for subsequent processing ...
Thank you for your work on this great project!
DipokalLab
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working