meteor-desktop icon indicating copy to clipboard operation
meteor-desktop copied to clipboard

extraResources in dev?

Open drone1 opened this issue 6 years ago • 1 comments

I'm trying to have the builder automatically copy over a folder for acess from my meteor desktop application's main thread.

My folder is located at /.desktop/.python, and so in /.desktop/settings.json, I have:

    "builderOptions": {
        "extraResources": [
            ".python/*"
        ],
        ...

Should this copy /.desktop/.python over into /.meteor/desktop-build? Is it archiving it into an asar and do I need to use extra options to keep it unpacked?

The root thing I'm trying to solve is run a python script from my Electron module. For my app to work, it'll require python3, which I am not a fan of, but this is for personal use only.

Any help would be appreciated as I can't seem to get it. Suggestions welcome.

drone1 avatar Dec 28 '18 23:12 drone1

I see that my .python files are in the meteor.asar and desktop.asar archives, but this is not what I need. I need to copy the folder over, as-is, not bundled into an asar. I've tried the following, but it did not seem to do the trick:

        "extraResources": [
            ".python/*"
        ],
        "asarUnpack": [
            ".python/*"
        ],

drone1 avatar Dec 28 '18 23:12 drone1