davidferguson / pibakery

The blocks based, easy to use setup tool for Raspberry Pi
http://www.PiBakery.org
GNU General Public License v3.0
1.49k stars 147 forks source link

Importing new blocks does not work #21

Closed jhergeth closed 8 years ago

jhergeth commented 8 years ago

I downloaded the current version of pibackery, followed the descriptions in http://www.pibakery.org/docs/contribute.html and tried to create a new block to install java on the raspberry. Importing my new block by drag/dropping it on pibakery does not work. I always get the "forbidden" mouse cursor and nothing happens: image

Any suggestions?

With regards jhergeth

davidferguson commented 8 years ago

From your cursor, I presume you're running Windows - could I ask what version you're running?

I've actually already released a workaround for this - but I've neglected to update my docs - apologies about this! You can use the shortcut ctrl shift + to open a folder dialog chooser where you can select your block folder to import it that way.

Thanks for pointing this out to me.

jhergeth commented 8 years ago

I use W10. 64 Bit, German

Am 11.09.2016 um 23:12 schrieb David Ferguson:

From your cursor, I presume you're running Windows - could I ask what version you're running?

I've actually already released a workaround for this - but I've neglected to update my docs - apologies about this! You can use the shortcut |ctrl shift +| to open a folder dialog chooser where you can select your block folder to import it that way.

Thanks for pointing this out to me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidferguson/pibakery/issues/21#issuecomment-246204978, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2k8I4m0XWAst8YHpR7zikHSDgI7VJcks5qpG64gaJpZM4J6BqA.

Joachim Hergeth Benediktinerstrasse 2 52066 Aachen +49 241 57907547

davidferguson commented 8 years ago

Did the ctrl shift + shortcut work for you?

jhergeth commented 8 years ago

Yes!

Currently testing the new block (Oracle-JDK install)

Am 12.09.2016 um 20:05 schrieb David Ferguson:

Did the |ctrl shift +| shortcut work for you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidferguson/pibakery/issues/21#issuecomment-246436808, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2k8IXj_KHED_wkfAOfBHl8A6AFkPilks5qpZRQgaJpZM4J6BqA.

Joachim Hergeth Benediktinerstrasse 2 52066 Aachen +49 241 57907547

davidferguson commented 8 years ago

Just for others who stumble across this thread - the reason drag-drop doesn't work on Windows is because Windows doesn't allow drag-drop between elevated and non-elevated programs. As PiBakery is elevated, but explorer is not, you can't drag between them.

Have a read of this Microsoft article for more information.

jhergeth commented 8 years ago

It seems that the lines:

    electronLocalshortcut.register(mainWindow, 'CommandOrControl+Shift+Plus', function()
    {
        mainWindow.webContents.send('testBlock');
    });

have been lost in the new version which supports also rasbian lite...

davidferguson commented 8 years ago

Thanks @jhergeth - not quite sure what happened there! I'll add it back in.