bandcamp-desktop icon indicating copy to clipboard operation
bandcamp-desktop copied to clipboard

Python Script only build Linux AppImage

Open jjos1 opened this issue 3 years ago • 3 comments

Hi. I built the code with your Python Script but not matter what OS selects it always build the Linux AppImage. I'm on MacOs X Mojave. Thanks

jjos1 avatar Dec 03 '21 11:12 jjos1

Hi, thanks for reporting this issue. Apparently there's a problem with the library pynpm if used with versions of Python > 3.7. By the way, at this point you are all set to build the software on your own. You can open the terminal inside the bandcamp-desktop folder and run the command:

npm run-script build --mac

You should find the compiled software inside the dist directory.

This is a temporary solution, I'll try to find a way to fix that.

themagiulio avatar Dec 03 '21 16:12 themagiulio

Thanks for the answer. I was also trying to build it manually cloning the repo and using 'npm run-script' as you describe in the Readme but no luck. When I try with the command you suggest I get the following error:

[email protected] build electron-builder build -l --publish never

sh: electron-builder: command not found

Any idea?

jjos1 avatar Dec 05 '21 17:12 jjos1

Probably npm is not installing the dev dependencies. Enter in the bandcamp-desktop folder and type: npm install electron electron-builder This should install the missing dependencies.

themagiulio avatar Dec 06 '21 15:12 themagiulio