-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindie_gui.py
executable file
·36 lines (30 loc) · 976 Bytes
/
indie_gui.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/python3
import iquail
import os
if not iquail.helper.OS_LINUX:
raise AssertionError("This test solution is linux only")
class MyInstaller(iquail.Installer):
def register(self):
super().register()
for file in os.listdir(self.get_solution_path()):
if ".so." in file:
os.chmod(self.get_solution_path(file), 0o777)
iquail.run(
solution=iquail.SolutionGitHub(
"indie.zip", "https://github.com/QuailTeam/cpp_indie_studio"),
installer=MyInstaller(
publisher='tek',
name='Indie',
icon='icon.png',
binary='indie_studio',
console=False,
launch_with_quail=False
),
builder=iquail.builder.Builder(
iquail.builder.CmdIcon('icon.png'),
iquail.builder.CmdNoconsole(),
side_img_override="./side_img.gif"
),
controller=iquail.ControllerTkinter(ask_for_update=True,
eula="TEST")
)