Git Product home page Git Product logo

Comments (5)

DM164 avatar DM164 commented on July 20, 2024 2

Ok so I tried using the packaged app on my device without downloading it from my website or GitHub and it works. Does anyone know how to get permissions to download files on MacOS?

from electron-dl.

danielgottbehuet avatar danielgottbehuet commented on July 20, 2024

@DM164 did you found a solution? Same here. Everything was fine. Now two M1 brand new MacBooks stuck downloading. With request module the same as this electron-dl package.

from electron-dl.

DM164 avatar DM164 commented on July 20, 2024

@danielgottbehuet no I haven't really found a permanent solution to the problem, the only thing that fixes it is to give the app full disk permission or change its ownership. Both are not a good solution for production though because of security and practicality reasons.

from electron-dl.

juliancorrea avatar juliancorrea commented on July 20, 2024

same here....It's hard to believe that none of the project collaborators have experienced this issue before. I had this problem in intel, not Apple Silicon (M1....)

from electron-dl.

juliancorrea avatar juliancorrea commented on July 20, 2024

by the way, I solve this issue downloading the file to the directory /Users/[USER NAME]/Library/Application Support/[YOU APP NAME], this path can be write by app. This path can be obtained using this code:

const { app } = require("electron");
app.getPath("userData");

from electron-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.