TurboWarp / packager

Converts Scratch projects into HTML files, zip archives, or executable programs for Windows, macOS, and Linux.
https://packager.turbowarp.org/
Mozilla Public License 2.0
241 stars 153 forks source link

Files extension not working #578

Closed HangingWithCMM closed 2 years ago

HangingWithCMM commented 2 years ago

When I use the files extension from https://extensions.turbowarp.org/files.js if I use the packager and put the link in "Custom Extensions" under "Advanced Options" and package the project when I try to save a file nothing happens and if a try to load a file it freezes. Also it doesn't work in the desktop editor only the web editor with the extension in the URL.

Thanks in advance.

GarboMuffin commented 2 years ago

The desktop app does not have the necessary changes to run unsandboxed extensions and won't for a while longer

note that these extensions are still highly experimental

if a try to load a file it freezes

it's working fine for me. Is this in the online version of the packager or the desktop version? It'll only work in the online version for the same reason as above.

HangingWithCMM commented 2 years ago

when i save the file it doesn't save as the correct name when packaged as electron example: I put in the name example.exa but when it saves it saves it as example.exa..exa..exa..exa how do i fix it?

GarboMuffin commented 2 years ago

To clarify, it's working fine in the unsandboxed-extensions experiment and in the packager's preview, but not as an Electron app for Windows?

HangingWithCMM commented 2 years ago

@GarboMuffin Yes also it works fine with NW.js but not Electron

GarboMuffin commented 2 years ago

Looks like that is an Electron bug only affecting Windows that is fixed in the most recent version. We'll update our version of Electron this weekend.

HangingWithCMM commented 2 years ago

Ok thanks

HangingWithCMM commented 2 years ago

@GarboMuffin Also I cant seem to get Scratch3D extension to work?

GarboMuffin commented 2 years ago

The Scratch3D extension will require significant changes to work properly, and a complete rewrite to work in a way that people would expect and be compatible with things like the packager

Running ScratchX extensions has always been a "wouldn't it be cool if", not something we recommend actually using. Almost none of the extensions on scratchx.org will work properly. Issues about extensions not working should also be sent to https://github.com/TurboWarp/extensions/issues instead.

HangingWithCMM commented 2 years ago

Ok sorry

HangingWithCMM commented 2 years ago

but is there any way at all to get scratch3D working rn

GarboMuffin commented 2 years ago

No

HangingWithCMM commented 2 years ago

:(

HangingWithCMM commented 2 years ago

could there possibly be an option to package a project to .hta in the future?

GarboMuffin commented 2 years ago

.hta is effectively dead as a format and the browser engine it uses (internet explorer's) has no hope of running Scratch

HangingWithCMM commented 2 years ago

Oh ok is there any way to get a scratch project into a standalone EXE file

GarboMuffin commented 2 years ago

The closest you will get today is using Packager Extras https://github.com/TurboWarp/packager-extras/releases to generate an installer

Or just HTML files. They work everywhere and users won't get (justifiably) scary security warnings.

HangingWithCMM commented 2 years ago

Ok thanks

GarboMuffin commented 2 years ago

By "Scratch3D extension" I assumed you were referring to the extension with that name on scratchx.org. If you're talking about something else, let me know

Since the original issue of file extension not working has been worked around, I'm marking this as closed

HangingWithCMM commented 2 years ago

By "Scratch3D extension" I assumed you were referring to the extension with that name on scratchx.org. If you're talking about something else, let me know

Since the original issue of file extension not working has been worked around, I'm marking this as closed

Yes, I was talking about the one on scratchX is there any chance that it ever comes to turbowarp?