From d176d1f0ee89741a42d64cda3b7f59e3e6ed9cbb Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Wed, 22 Jul 2020 20:46:14 -0700 Subject: [PATCH] update make-standalone (untested) --- README.md | 2 +- make-standalone.bat | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0b9c691..31d70ac 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Install the dependencies, plus cx-Freeze. In a virtual environment, the specific pip install cx-freeze -r requirements-win32.txt ``` -Run `make-standalone.bat`. This will run cxfreeze and make a standalone version in `dist-standlone`, and copy `TaskbarLib.tlb` and `save3ds_fuse.exe` to it. +Run `make-standalone.bat`. This will run cxfreeze and make a standalone version at `dist\custom-install-standalone.zip` ## License/Credits [save3ds by wwylele](https://github.com/wwylele/save3ds) is used to interact with the Title Database (details in `bin/README`). diff --git a/make-standalone.bat b/make-standalone.bat index cc918de..3e75143 100644 --- a/make-standalone.bat +++ b/make-standalone.bat @@ -1,4 +1,7 @@ -cxfreeze ci-gui.py --target-dir=dist-standalone --base-name=Win32GUI -mkdir dist-standalone\bin -copy TaskbarLib.tlb dist-standalone -copy bin\win32\save3ds_fuse.exe dist-standalone\bin +mkdir build +cxfreeze ci-gui.py --target-dir=build\custom-install-standalone --base-name=Win32GUI +mkdir build\custom-install-standalone\bin +copy TaskbarLib.tlb build\custom-install-standalone +copy bin\win32\save3ds_fuse.exe build\custom-install-standalone\bin +copy bin\README build\custom-install-standalone\bin +python -m zipfile -c dist\custom-install-standalone.zip build\custom-install-standalone