Closed zisis912 closed 3 years ago
It's confirmed to work on Node v12, can you try again on that version? If it still fails, it might be because of special characters in your folder path (potentially including space characters) so it's worth a try to remove special characters if Node downgrade doesn't work.
Seems to be special character issue. I tried to build on Node v12.19.0, with special characters, and it failed to build. I removed special characters and now it can build successfully. Its not affected by spaces
ok, I will try somewhere else (btw those are greek characters, not random unicode)
it built successfully, but i want to ask a question. If you update the repo, do I have to install the client again or it autoupdates? Also, does the same happen with krunker updates?
It automatically updates when there's a new release. Client updates are not related to Krunker updates.
I know that krunker auto-updates when there's a new release, but does your client also update?
Oh I meant client auto updates. My bad. And yes it does.
@Mixaz017 also, is there a way to intergrate custom css in the client and build it with the custom css? Like, not put stuff in the swap folder, but have the exe file already have the custom css in it
Of course you can do anything you want by modifying the code but you will lose it on auto update. You can disable auto update but this way you no longer receive updates from future releases
if it is relatively easy to intergrate custom css into the client could you tell me how its done right now? How did MTZ client do it
@Mixaz017
MTZ is not open source
@Mixaz017 ok, but as I asked if it is easy to intergrate custom css into a client could you tell how to do it?
You just have to append style
or link
tag
i dont know too much about coding, if it is a few lines of code then import the assets could you show an example of code
It's really just createElement()
and appendChild()
. I'm not going to provide further support for questions you can find an answer online easily.
i could definitely find answers about children and appending online, but there are no videos about how to code a krunker client. If you know of any vid that helps with this tell me, Ι would really want to add some custom css inside the client
I don't know and don't care about video tutorial stuff. Also I only provide support for idkr client itself, not for other clients or making a client.
after installing the dependencies, i ran npm run dist, but at the end of the compiling proccess there was an error. Here are the logs.