kylon / Sharedown

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

Can't find preload.js on MacOS #50

Closed Ferox97 closed 1 year ago

Ferox97 commented 1 year ago

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

kylon commented 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

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