update and build for windows
This commit is contained in:
parent
664636d280
commit
a18f51858a
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
macros.json
|
||||
macro_images/
|
||||
macro_images/*
|
||||
macro_images/*
|
||||
build/
|
BIN
dist/mp-server.exe
vendored
Normal file
BIN
dist/mp-server.exe
vendored
Normal file
Binary file not shown.
@ -1,17 +1,14 @@
|
||||
import tkinter as tk
|
||||
from tkinter import filedialog, simpledialog, ttk
|
||||
from tkinter import filedialog, ttk
|
||||
import json
|
||||
import socket
|
||||
import threading
|
||||
import base64
|
||||
import os
|
||||
import pyautogui
|
||||
import subprocess
|
||||
from PIL import Image, ImageTk
|
||||
import pystray # Add this import for system tray functionality
|
||||
import io
|
||||
import uuid
|
||||
import shutil
|
||||
|
||||
class MacroPadServer:
|
||||
def __init__(self, root):
|
||||
|
38
mp-server.spec
Normal file
38
mp-server.spec
Normal file
@ -0,0 +1,38 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
|
||||
a = Analysis(
|
||||
['mp-server.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=[],
|
||||
hiddenimports=[],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
noarchive=False,
|
||||
optimize=0,
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
[],
|
||||
name='mp-server',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=True,
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user