OpenComic icon indicating copy to clipboard operation
OpenComic copied to clipboard

OpenComic portable version

Open JamesJacquesDiego opened this issue 2 years ago • 7 comments

Hi, The OpenComic app is great, but I miss the portable version for Windows. Is there a chance to add the portable version?

JamesJacquesDiego avatar Dec 25 '21 22:12 JamesJacquesDiego

Is it possible?

JamesJacquesDiego avatar Mar 09 '22 01:03 JamesJacquesDiego

Somewhat late but just create an exe yourself from the source if you really want one.

hormoz1 avatar Jun 23 '22 11:06 hormoz1

Could you tell me how to create an exe from the source? If I create such exe, the app will be portable (all files will be stored in one place?

JamesJacquesDiego avatar Jun 29 '22 23:06 JamesJacquesDiego

To begin with, you don't need it to be an exe to run it, you can simply run it from source. Look at this section on how to simply start it: https://github.com/ollm/OpenComic#installation-and-starting-for-development

If you want to make an exe, then simply use something like electron-builder.

hormoz1 avatar Jun 30 '22 20:06 hormoz1

Although I have not tried it, with this you should be able to create a portable version.

Clone repo

git clone https://github.com/ollm/OpenComic.git
cd OpenComic
npm install
npm install --only=dev
npm run rebuild

Build portable version

npm run prebuild
electron-builder --win portable

More info https://www.electron.build/configuration/nsis#portable

Even so, I will keep in mind the portable version for the next version of OpenComic

ollm avatar Jul 01 '22 10:07 ollm

Thank you for your explanation. To use npm like that I should install node.js? It would be great if you could add the portable version. I've tried many apps to read comics but yours is the best :)

JamesJacquesDiego avatar Jul 30 '22 00:07 JamesJacquesDiego

Thank you for your explanation. To use npm like that I should install node.js?

Yes, also you need to install git for clone the repository.

ollm avatar Jul 31 '22 11:07 ollm

Now the portable version is available in beta version v1.0.0-beta.3

ollm avatar Oct 10 '23 11:10 ollm