How can I convert a Snap! game to a .exe file?

Hi,
Does somebody know how to convert Snap! file to a .exe file

As of right now, it is not currently possible.

It would have to convert it to a javascript file(s), and then package it in something like electron

Actually I found This link as a support but it doesn't work on my windows pc.

I'm assuming you're talking about Snapp! It is able to convert snap projects to exe files, but the problem is, it has not updated to the current version of snap, so it doesn't work with new projects.

But do you know when tey will update it?

I don't think they will, now since snapp is open source, anyone can fork it, then update it.

I was able to create a window with the following Python code:

import sys
from PyQt5 import QtWidgets,QtGui,QtCore
from PyQt5.QtWebEngineWidgets import *
app=QtWidgets.QApplication(sys.argv)
w=QWebEngineView()
w.load(QtCore.QUrl('https://snap.berkeley.edu/snap/snap.html#present:Username=joecooldoo&ProjectName=Taskr%20OS'))
w.setGeometry(0, 0, 480, 360)
w.setWindowTitle('Taskr OS VM')
w.show()
app.exec_()

You can try converting this Python code to an EXE using the auto-py-to-exe module

For what is actually this code?