kylon / Sharedown

Electron application to download Sharepoint videos (especially meant for students)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't find preload.js on MacOS

Ferox97 opened this issue · comments

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

commented

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

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

commented

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

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

commented

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