felix-d1strict / AL-JobTracker

Euro Truck Simulator 2 and American Truck Simulator - Jobtracker for Ace Logistics.
https://ace-logistics.uk
GNU General Public License v3.0
3 stars 1 forks source link

Creating "jobs" folder #16

Closed AdyStudios closed 3 years ago

AdyStudios commented 3 years ago

I noticed that you used the jobs folder in the script, and that makes an issue for me of course because I don't have the jobs folder. This let me think that we should add a folder creation function. I figured out how to mkdirs but my only issue was that I couldn't inploment it properly. I tried first adding the createdir function to the if(err){}, but it didn't waited for the folder to be created. Then I tried using the: try{} catch{} finally{} things, but it didn't worked at all. Also couldnt find any solutions on the internet (that actually worked). I'm going to keep trying.

felix-d1strict commented 3 years ago

Not a Bug. I will put the jobs-folder into the installer.

felix-d1strict commented 3 years ago

And i havnt upload the jobsfolder to github yet.

AdyStudios commented 3 years ago

Right, but I thought it would be better to keep the github page clean, but okay, thats a way to do it lmao

felix-d1strict commented 3 years ago

Why? One folder more or less 🤷‍♂️ GitHub doesnt need to be "clean". End users will usually not look at the source code anyway.

AdyStudios commented 3 years ago

Yeah, okay, okay