From 1e48aa144ec3f0ab1c4126a35de473bb4d8d8207 Mon Sep 17 00:00:00 2001 From: infeeeee Date: Tue, 28 Mar 2023 00:53:35 +0200 Subject: [PATCH] Fix installer --- .github/workflows/build-installer.yml | 1 - .gitignore | 3 ++- README.md | 2 +- dyn2py-installer.iss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-installer.yml b/.github/workflows/build-installer.yml index 6e5b56e..6c4104e 100644 --- a/.github/workflows/build-installer.yml +++ b/.github/workflows/build-installer.yml @@ -19,7 +19,6 @@ jobs: uses: actions/download-artifact@v3 with: name: dyn2py.exe - path: dist/dyn2py.exe - name: Update version number run: | $regex = Select-String -Path pyproject.toml -Pattern '^version = "((?:\d\.){2}\d)"$' diff --git a/.gitignore b/.gitignore index 11fde10..7663704 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ build dist docs tests/output_files -Output \ No newline at end of file +Output +dyn2py.exe \ No newline at end of file diff --git a/README.md b/README.md index f2e71e3..8fba14e 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ pyinstaller dyn2py.spec ### Create installer for Windows - Install Inno Setup: https://jrsoftware.org/isdl.php -- The already built exe should be in `dist\dyn2py.exe` +- The already built exe should be in the root folder - Run this in powershell: ```powershell diff --git a/dyn2py-installer.iss b/dyn2py-installer.iss index 807dc0a..7ba7b17 100644 --- a/dyn2py-installer.iss +++ b/dyn2py-installer.iss @@ -20,7 +20,7 @@ ChangesEnvironment=yes Name: "english"; MessagesFile: "compiler:Default.isl" [Files] -Source: "dist\dyn2py.exe"; DestDir: "{app}"; Flags: ignoreversion external +Source: "dyn2py.exe"; DestDir: "{app}"; Flags: ignoreversion [Code]