Skip to content

Commit

Permalink
fix quick bump with ogg
Browse files Browse the repository at this point in the history
  • Loading branch information
gmjosack committed Apr 14, 2021
1 parent 029f525 commit 2804dd2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
35 changes: 20 additions & 15 deletions build-exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,42 @@

DATA = [
"dist/libogg.dll;.",
"dist/libogg.dll;.",
"dist/libvorbis.dll;.",
"src/modlunky2/VERSION;.",
"src/modlunky2/static;static",
]
BASE_DIR = Path(__file__).parent.resolve()


def run_pyinstaller():
pyinstaller_args = ["pyinstaller.exe", f"{BASE_DIR / 'pyinstaller-cli.py'}"]
for data in DATA:
pyinstaller_args.extend(["--add-data", data])

pyinstaller_args.extend([
"--name=modlunky2",
f"--icon={BASE_DIR / 'src/modlunky2/static/images/icon.ico'}",
"--clean",
"--onedir",
"--noconsole",
"--noconfirm",
])
pyinstaller_args.extend(
[
"--name=modlunky2",
f"--icon={BASE_DIR / 'src/modlunky2/static/images/icon.ico'}",
"--clean",
"--onedir",
"--noconsole",
"--noconfirm",
]
)

process = subprocess.Popen(pyinstaller_args)
process.communicate()


def build_launcher():
process = subprocess.Popen([
"cargo",
"build",
f"--manifest-path={BASE_DIR / 'src/launcher/Cargo.toml'}",
"--release",
])
process = subprocess.Popen(
[
"cargo",
"build",
f"--manifest-path={BASE_DIR / 'src/launcher/Cargo.toml'}",
"--release",
]
)
process.communicate()


Expand Down
2 changes: 1 addition & 1 deletion src/modlunky2/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.17.0
0.17.1

0 comments on commit 2804dd2

Please sign in to comment.