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

Not able to run the code. #14

Open
swatimalode opened this issue Feb 8, 2023 · 1 comment
Open

Not able to run the code. #14

swatimalode opened this issue Feb 8, 2023 · 1 comment
Labels
question Further information is requested

Comments

@swatimalode
Copy link

can you give me more descriptive way how to use this. because it is giving error while launching the app

@gmastergreatee
Copy link
Owner

gmastergreatee commented Mar 2, 2023

Sorry for the late reply

May you plz provide more details viz, the platform you are trying to run the program on?
Or maybe you are trying to setup the development environment?
It's a lil confusing, the issue title says ...run the code, whereas the comment says ...how to use this means you want to read fanfics using this.

Downloading

For example, in windows 64bit, to download the program,

image

Extract the contents of the zip file to an empty folder, and simply run Novel-Downloader.exe

image

The application does an update check at app-startup, so it will ask for an update if you downloaded the above zip file,

image

All application/rules related updates are done using raw.githubusercontent... domain, so make sure it isn't blocked by your ISP. It was actually blocked at my place(JIO - dunno why they did that) some weeks back so Rules Update feature wasn't working(using that network).
To test it, check if this page loads rules.json

After completion of app update, go to the Rules tab, and update the rules

image

What the Update Rules does is, it downloads the above mentioned rules.json file and replaces the one used by the application.

Hopefully you got an idea what went wrong on your side from the above instructions, if you were asking for that.


Environment Setup

In case, you want to setup a dev-environment, just install electron v19.0.5 globally. Run a live-server at the project root, port 5500. Uncomment line 148 and comment line 149 of main.js.
image

Then run command electron . at the project root. (Make sure only one instance is running, or electron will throw an error)

I could've used a script, going the normal way, but I had all the stuff already setup when I started working on the project and was lazy so meh.😅


Thank you
May you have a great day

@gmastergreatee gmastergreatee added the question Further information is requested label Mar 2, 2023
@gmastergreatee gmastergreatee pinned this issue Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants