Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit 8a2387c

Browse files
committed
gui to exe
1 parent 0821523 commit 8a2387c

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

build.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import cx_Freeze
2+
import sys
3+
4+
base = None
5+
6+
if sys.platform == 'win32':
7+
base = "Win32GUI"
8+
9+
executables = [cx_Freeze.Executable("discordrpc-gui.py", base=base, icon="kc.ico")]
10+
11+
cx_Freeze.setup(
12+
name = "ADRPC",
13+
options = {"build_exe": {"packages":["tkinter","pypresence"], "include_files":["kc.ico"]}},
14+
version = "v1",
15+
description = "Advanced Discord RPC",
16+
executables = executables
17+
)

kc.ico

121 KB
Binary file not shown.

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
crayons
22
pypresence
3-
tkinter
3+
tkinter
4+
cx_Freeze

0 commit comments

Comments
 (0)