Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit 6b01349

Browse files
Merge pull request #386 from mo0haned/patch-1
Update hello.py
2 parents 37d9480 + 6003c3d commit 6b01349

File tree

1 file changed

+1
-8
lines changed
  • examples/09 - Eelectron-quick-start

1 file changed

+1
-8
lines changed
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import eel
2-
32
# Set web files folder
43
eel.init('web')
54

@@ -10,11 +9,5 @@ def say_hello_py(x):
109
say_hello_py('Python World!')
1110
eel.say_hello_js('Python World!') # Call a Javascript function
1211

13-
14-
options = {
15-
'mode': 'custom',
16-
'args': ['node_modules/electron/dist/electron.exe', '.']
17-
}
18-
19-
eel.start('hello.html', options=options)
12+
eel.start('hello.html',mode='electron')
2013
#eel.start('hello.html', mode='custom', cmdline_args=['node_modules/electron/dist/electron.exe', '.'])

0 commit comments

Comments
 (0)