Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux support / installation instructions #13

Open
gotjoshua opened this issue Nov 25, 2024 · 2 comments
Open

Linux support / installation instructions #13

gotjoshua opened this issue Nov 25, 2024 · 2 comments

Comments

@gotjoshua
Copy link

Package.json says linux is supported... is that true?

if not, what is needed?
if so, you have installation hints?

@Pierowheelz
Copy link

I build on Linux. It's a bit complex and requires some minor code changes to fix platform-specific bugs (see my fork here: https://github.com/Pierowheelz/Meisunry - I've just added some pre-built binaries for you as a Release).
Most notably, the base path needs to be adjusted for any code fetching image paths. Also, the 'trash' npm dependency doesn't seem to work, so I've swapped this out with a simple fs.unlink(). I'm sure these could be addressed in a cross-platform compatible way in a proper Pull Request, but I don't have the time right now.

I use electron-forge for the build process. Use their documentation here to install dependencies: https://www.electronjs.org/docs/latest/development/build-instructions-linux

After that, just run: npm i then npm run make. Your build will end up in the /out/make/rpm (or /out/make/deb) folder.

I've noticed the following issues:

  • Default directory does not exist (Meisunry defaults to C:/, whic doesn't exist in Linux).
  • App Icon does not work.
  • Deleting images and copying image paths does not work (hotfix in my fork).

@gotjoshua
Copy link
Author

🙏 @Pierowheelz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants