Skip to content

Commit

Permalink
beta-v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhid14 authored Oct 19, 2020
1 parent b0ef2ff commit af8afe6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Pygranthalaya.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ def restartApp():
os.rename('{}\\\\resources\\app.html'.format(os.getcwd()),
'{}\\\\resources\\index.html'.format(os.getcwd()))
eel.closeInstall()
os.startfile('Pygranthalaya.exe')
os.startfile('Pygranthalaya.py')
exit()


def start():
eel.init('resources')
eel.start('index.html', mode='custom', port=12114, cmdline_args=[
'pga.exe', '.'])
'./frontend/pga.exe', '.'])


def setup():
Expand All @@ -135,7 +135,7 @@ def setup():
title="Critical Error!", message="App cannot install files corrupted or missing. Error triggered by frontend not found!")
eel.init('resources')
eel.start('index.html', mode='custom', port=12114,
cmdline_args=['pga.exe', '.'])
cmdline_args=['./frontend/pga.exe', '.'])


if os.path.exists('{}\\\\resources\\appdata\\about.json'.format(os.getcwd())):
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Eel==0.12.4
PyGetWindow==0.0.8
pandas==1.1.3
openpyxl==3.0.5
numpy==1.19.1
Eel
PyGetWindow
openpyxl
pandas
numpy
Loading

0 comments on commit af8afe6

Please sign in to comment.