Skip to content

Commit f4da693

Browse files
committed
Modified build script
1 parent 03bd646 commit f4da693

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ RESET='\033[0m'
55
echo -e "${BLUE_BOLD} > Emptying 'dist' dir${CYAN}"
66
rm -rf dist/*
77

8-
echo -e "${BLUE_BOLD} > Generating MCMEL Binary${CYAN}"
9-
pyinstaller main.py --onefile --windowed --name=mcmel
8+
echo -e "${BLUE_BOLD} > Generating Cuberry Binary${CYAN}"
9+
pyinstaller main.py --onefile --windowed --name=cuberry
1010

1111
echo -e "${BLUE_BOLD} > Copying required folders and files${CYAN}"
1212
mkdir -p dist/assets/images && cp -r assets/images/* dist/assets/images/
1313
mkdir -p dist/assets/ui && cp -r assets/ui/* dist/assets/ui/
1414
mkdir -p dist/assets/icons && cp -r assets/icons/* dist/assets/icons/
1515
cp games_config_example.json dist/games_config.json
1616

17-
# echo -e "${BLUE_BOLD} > Generating MCMEL Flatpak${CYAN}"
17+
# echo -e "${BLUE_BOLD} > Generating Cuberry Flatpak${CYAN}"
1818
# flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=repo builddir manifest.yml
1919
echo -e "${BLUE_BOLD} > Build finished!${RESET}"

cuberry.spec

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['main.py'],
6+
pathex=[],
7+
binaries=[],
8+
datas=[],
9+
hiddenimports=[],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
19+
exe = EXE(
20+
pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.datas,
24+
[],
25+
name='cuberry',
26+
debug=False,
27+
bootloader_ignore_signals=False,
28+
strip=False,
29+
upx=True,
30+
upx_exclude=[],
31+
runtime_tmpdir=None,
32+
console=False,
33+
disable_windowed_traceback=False,
34+
argv_emulation=False,
35+
target_arch=None,
36+
codesign_identity=None,
37+
entitlements_file=None,
38+
)

0 commit comments

Comments
 (0)