kylon / Sharedown

Electron application to download Sharepoint videos (especially meant for students)
GNU General Public License v3.0
376 stars 41 forks source link

Can't find preload.js on MacOS #50

Closed Ferox97 closed 2 years ago

Ferox97 commented 2 years ago

I need to edit that to fix a problem but I'm unable to find it...

kylon commented 2 years ago

https://github.com/kylon/Sharedown/blob/main/preload.js

edit and rebuild the app

but if there is a bug, please share so can be fixed for everyone

Ferox97 commented 2 years ago

How can I rebuild the app? I'm not familiar with that... I've installed the app directly from the .dmg file

About the bug, it's the same one raised in Issue #49

kylon commented 2 years ago

you need nodejs and yarn you can also use brew to install node if you prefer

install nodejs, once done open a terminal and type npm i -g yarn

then type

git clone https://github.com/kylon/Sharedown.git
yarn install

you can now edit and use yarn dist to build the dmg

Ferox97 commented 2 years ago

I'm stuck with yarn dist... it says Couldn't find a package.json file in "/Users/francesco". I have the cloned repo ready and edited

kylon commented 2 years ago

the package.json is in source folder, you must run yarn dist inside the source folder