mirror of
https://github.com/buildwithparallel/crosstalk
synced 2026-08-10 21:26:31 -04:00
Rename Reticulum MeshChat to Crosstalk across the codebase and packaging. Renamed meshchat.py to crosstalk.py and updated Dockerfile, docker-compose, GitHub Actions, README, docs and electron assets to use Crosstalk, new storage/reticulum config paths (~/.crosstalk/.reticulum), and GHCR tags/labels. Add logic to seed a default RMAP World TCP client interface and a config flag, shorten interface/transport responses to remove forced restart messages, and update database proxy comment. Electron: set app name, implement an internal prompt (replacing electron-prompt), expose restart-backend IPC, change backend executable naming/launching (startBackend/start/stop handling), and adjust portable storage behavior. Misc: remove donate.md, add example image and egg-info files, and apply multiple frontend/component and static asset updates to match rebrand and UX improvements.
43 lines
1.7 KiB
Python
43 lines
1.7 KiB
Python
from cx_Freeze import setup, Executable
|
|
|
|
setup(
|
|
name='Crosstalk',
|
|
version='1.0.0',
|
|
description='A simple mesh network communications app powered by the Reticulum Network Stack',
|
|
executables=[
|
|
Executable(
|
|
script='crosstalk.py', # this script to run
|
|
base=None, # we are running a console application, not a gui
|
|
target_name='Crosstalk', # creates Crosstalk.exe
|
|
shortcut_name='Crosstalk', # name shown in shortcut
|
|
shortcut_dir='ProgramMenuFolder', # put the shortcut in windows start menu
|
|
icon='logo/icon.ico', # set the icon for the exe
|
|
),
|
|
],
|
|
options={
|
|
'build_exe': {
|
|
# libs that are required
|
|
'packages': [
|
|
# required for dynamic import fix
|
|
# https://github.com/marcelotduarte/cx_Freeze/discussions/2039
|
|
# https://github.com/marcelotduarte/cx_Freeze/issues/2041
|
|
'RNS',
|
|
],
|
|
# files that are required
|
|
'include_files': [
|
|
'package.json', # used to determine app version from python
|
|
'public/', # static files served by web server
|
|
],
|
|
# slim down the build by excluding these unused libs
|
|
'excludes': [
|
|
'PIL', # saves ~200MB
|
|
],
|
|
# this has the same effect as the -O command line option when executing CPython directly.
|
|
# it also prevents assert statements from executing, removes docstrings and sets __debug__ to False.
|
|
# https://stackoverflow.com/a/57948104
|
|
"optimize": 2,
|
|
# change where exe is built to
|
|
'build_exe': 'build/exe',
|
|
},
|
|
},
|
|
)
|