From 124630a988b6ed65689697d499c5929b68f0253b Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:02:12 -0500 Subject: [PATCH 01/11] update the version for the exe and in nolang.py on manual build --- .github/workflows/build.yml | 8 ++++++- .gitignore | 2 +- buid/update_version.py | 39 ++++++++++++++++++++++++++++++++ buid/version.txt | 44 +++++++++++++++++++++++++++++++++++++ buid/version.yml | 7 ++++++ nolang.py | 5 +++++ requirements.txt | 3 ++- 7 files changed, 105 insertions(+), 3 deletions(-) create mode 100644 buid/update_version.py create mode 100644 buid/version.txt create mode 100644 buid/version.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7e46f3..22a44d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,9 +28,15 @@ jobs: - name: install requirements run: | pip install -r requirements.txt + - name: update build version from input + run: | + python update_version.py ${{ github.event.inputs.version_tag }} + - name: create the version file + run: | + create-version-file D:\a\nolang\nolang\build\version.yml --outfile D:\a\nolang\nolang\build\version.txt - name: run pyinstaller run: | - pyinstaller --noconfirm --onedir --console --icon "../nolang/nolang.ico" --add-data "../nolang/nolang;nolang/" "../nolang/nolang.py" --distpath D:\a\nolang\nolang\dist + pyinstaller --noconfirm --onedir --console --icon "../nolang/nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --add-data "../nolang/nolang;nolang/" "../nolang/nolang.py" --distpath D:\a\nolang\nolang\dist - name: package to zip run: Compress-Archive -Path D:\a\nolang\nolang\dist\nolang -Destination D:\a\nolang\nolang\dist.zip - uses: actions/upload-artifact@v2 diff --git a/.gitignore b/.gitignore index 0c1fea1..bbdc5d2 100644 --- a/.gitignore +++ b/.gitignore @@ -167,4 +167,4 @@ cython_debug/ *.bat my_samples/ -exe_build/ \ No newline at end of file +move.py \ No newline at end of file diff --git a/buid/update_version.py b/buid/update_version.py new file mode 100644 index 0000000..2a0b174 --- /dev/null +++ b/buid/update_version.py @@ -0,0 +1,39 @@ +import sys +import re + +if len(sys.argv) != 2: + print("""Problem with argument.\n + Expected exactly one argument with new version number - e.g. '0.0.0.0'""") + exit(1) + +new_version = sys.argv[1] + +if re.match(r"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+", new_version) == None: + print("Wrong format of argument:", new_version, + "\nRequired format: 0.0.0.0") + exit(1) + +""" +Update the version.yml file to change the version number +""" +with open("./version.yml", "r", encoding="utf8") as version_file: + version_file_lines = version_file.readlines() + version_file_lines[0] = f"Version: {new_version}\n" + +with open("./version.yml", "w", encoding="utf8") as version_file: + version_file.writelines(version_file_lines) + +""" +Update the nolang.py file to change the version number +""" +with open("../nolang.py", "r", encoding="utf8") as nolang_file: + lines = nolang_file.readlines() + for idx, line in enumerate(lines): + if line[:2] == "__": + line = line.split(" ") + line[2] = f"\"{new_version}\"" + line = " ".join(line) + lines[idx] = line+"\n" + break +with open("../nolang.py", "w", encoding="utf8") as nolang_file: + nolang_file.writelines(lines) diff --git a/buid/version.txt b/buid/version.txt new file mode 100644 index 0000000..260c05a --- /dev/null +++ b/buid/version.txt @@ -0,0 +1,44 @@ +# UTF-8 +# +# For more details about fixed file info 'ffi' see: +# http://msdn.microsoft.com/en-us/library/ms646997.aspx + +VSVersionInfo( + ffi=FixedFileInfo( + # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) + # Set not needed items to zero 0. Must always contain 4 elements. + filevers=(0,0,10,0), + prodvers=(0,0,10,0), + # Contains a bitmask that specifies the valid bits 'flags'r + mask=0x3f, + # Contains a bitmask that specifies the Boolean attributes of the file. + flags=0x0, + # The operating system for which this file was designed. + # 0x4 - NT and there is no need to change it. + OS=0x40004, + # The general type of file. + # 0x1 - the file is an application. + fileType=0x1, + # The function of the file. + # 0x0 - the function is not defined for this fileType + subtype=0x0, + # Creation date and time stamp. + date=(0, 0) + ), + kids=[ + StringFileInfo( + [ + StringTable( + u'040904B0', + [StringStruct(u'CompanyName', u'FNBB Devs'), + StringStruct(u'FileDescription', u'Nolang'), + StringStruct(u'FileVersion', u'0.0.10.0'), + StringStruct(u'InternalName', u'Nolang CLI'), + StringStruct(u'LegalCopyright', u'Copyright (c) 2023 FNBBDevs'), + StringStruct(u'OriginalFilename', u'nolang.exe'), + StringStruct(u'ProductName', u'nolang'), + StringStruct(u'ProductVersion', u'0.0.10.0')]) + ]), + VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) + ] +) \ No newline at end of file diff --git a/buid/version.yml b/buid/version.yml new file mode 100644 index 0000000..1f9825c --- /dev/null +++ b/buid/version.yml @@ -0,0 +1,7 @@ +Version: 0.0.9.0 +CompanyName: FNBB Devs +FileDescription: Nolang +InternalName: Nolang CLI +LegalCopyright: Copyright (c) 2023 FNBBDevs +OriginalFilename: nolang.exe +ProductName: nolang \ No newline at end of file diff --git a/nolang.py b/nolang.py index a71a264..5d46a5b 100644 --- a/nolang.py +++ b/nolang.py @@ -12,6 +12,8 @@ lex = Lexer() parser = Parser() +__VERSION__ = "0.0.9.0" + # Usage: nolang [FILE] [OPTIONS] def main(): if '--ast' in sys.argv: @@ -29,6 +31,9 @@ def main(): def interactive(visitor: ASTVisitor): def read_line(prompt: str): return input(prompt).rstrip() + + print(' _ __ __ \n / | / /___ / /___ _____ ____ _\n / |/ / __ \\/ / __ `/ __ \\/ __ `/\n / /| / /_/ / / /_/ / / / / /_/ / \n/_/ |_/\\____/_/\\__,_/_/ /_/\\__, / \n /____/ ') + print(f"Copyright (c) 2023 FNBBDevs - v{__VERSION__}\n") while True: line = read_line('>>> ') diff --git a/requirements.txt b/requirements.txt index 5f3939f..99c800c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ bruhcolor==0.0.63 -pyinstaller==6.0.0 \ No newline at end of file +pyinstaller==6.0.0 +pyinstaller-versionfile==2.1.1 \ No newline at end of file From e394400feb22dcd5f39320b37b8ceebc7feeb948 Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:07:09 -0500 Subject: [PATCH 02/11] small shell update --- buid/version.txt | 8 ++++---- buid/version.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buid/version.txt b/buid/version.txt index 260c05a..a3ab580 100644 --- a/buid/version.txt +++ b/buid/version.txt @@ -7,8 +7,8 @@ VSVersionInfo( ffi=FixedFileInfo( # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) # Set not needed items to zero 0. Must always contain 4 elements. - filevers=(0,0,10,0), - prodvers=(0,0,10,0), + filevers=(0,0,8,0), + prodvers=(0,0,8,0), # Contains a bitmask that specifies the valid bits 'flags'r mask=0x3f, # Contains a bitmask that specifies the Boolean attributes of the file. @@ -32,12 +32,12 @@ VSVersionInfo( u'040904B0', [StringStruct(u'CompanyName', u'FNBB Devs'), StringStruct(u'FileDescription', u'Nolang'), - StringStruct(u'FileVersion', u'0.0.10.0'), + StringStruct(u'FileVersion', u'0.0.8.0'), StringStruct(u'InternalName', u'Nolang CLI'), StringStruct(u'LegalCopyright', u'Copyright (c) 2023 FNBBDevs'), StringStruct(u'OriginalFilename', u'nolang.exe'), StringStruct(u'ProductName', u'nolang'), - StringStruct(u'ProductVersion', u'0.0.10.0')]) + StringStruct(u'ProductVersion', u'0.0.8.0')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ] diff --git a/buid/version.yml b/buid/version.yml index 1f9825c..9c736b1 100644 --- a/buid/version.yml +++ b/buid/version.yml @@ -1,4 +1,4 @@ -Version: 0.0.9.0 +Version: 0.0.8.0 CompanyName: FNBB Devs FileDescription: Nolang InternalName: Nolang CLI From 821b3504756dcd1af685ee4350a761a119de8895 Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:07:56 -0500 Subject: [PATCH 03/11] changes --- nolang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nolang.py b/nolang.py index 5d46a5b..ad9f9a8 100644 --- a/nolang.py +++ b/nolang.py @@ -12,7 +12,7 @@ lex = Lexer() parser = Parser() -__VERSION__ = "0.0.9.0" +__VERSION__ = "0.0.8.0" # Usage: nolang [FILE] [OPTIONS] def main(): From a64b97eeeac2b38b185ed937b3a1cfa7c974906c Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:15:46 -0500 Subject: [PATCH 04/11] buid -> buiild --- buid/update_version.py | 39 ------------------------------------- buid/version.txt | 44 ------------------------------------------ buid/version.yml | 7 ------- 3 files changed, 90 deletions(-) delete mode 100644 buid/update_version.py delete mode 100644 buid/version.txt delete mode 100644 buid/version.yml diff --git a/buid/update_version.py b/buid/update_version.py deleted file mode 100644 index 2a0b174..0000000 --- a/buid/update_version.py +++ /dev/null @@ -1,39 +0,0 @@ -import sys -import re - -if len(sys.argv) != 2: - print("""Problem with argument.\n - Expected exactly one argument with new version number - e.g. '0.0.0.0'""") - exit(1) - -new_version = sys.argv[1] - -if re.match(r"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+", new_version) == None: - print("Wrong format of argument:", new_version, - "\nRequired format: 0.0.0.0") - exit(1) - -""" -Update the version.yml file to change the version number -""" -with open("./version.yml", "r", encoding="utf8") as version_file: - version_file_lines = version_file.readlines() - version_file_lines[0] = f"Version: {new_version}\n" - -with open("./version.yml", "w", encoding="utf8") as version_file: - version_file.writelines(version_file_lines) - -""" -Update the nolang.py file to change the version number -""" -with open("../nolang.py", "r", encoding="utf8") as nolang_file: - lines = nolang_file.readlines() - for idx, line in enumerate(lines): - if line[:2] == "__": - line = line.split(" ") - line[2] = f"\"{new_version}\"" - line = " ".join(line) - lines[idx] = line+"\n" - break -with open("../nolang.py", "w", encoding="utf8") as nolang_file: - nolang_file.writelines(lines) diff --git a/buid/version.txt b/buid/version.txt deleted file mode 100644 index a3ab580..0000000 --- a/buid/version.txt +++ /dev/null @@ -1,44 +0,0 @@ -# UTF-8 -# -# For more details about fixed file info 'ffi' see: -# http://msdn.microsoft.com/en-us/library/ms646997.aspx - -VSVersionInfo( - ffi=FixedFileInfo( - # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) - # Set not needed items to zero 0. Must always contain 4 elements. - filevers=(0,0,8,0), - prodvers=(0,0,8,0), - # Contains a bitmask that specifies the valid bits 'flags'r - mask=0x3f, - # Contains a bitmask that specifies the Boolean attributes of the file. - flags=0x0, - # The operating system for which this file was designed. - # 0x4 - NT and there is no need to change it. - OS=0x40004, - # The general type of file. - # 0x1 - the file is an application. - fileType=0x1, - # The function of the file. - # 0x0 - the function is not defined for this fileType - subtype=0x0, - # Creation date and time stamp. - date=(0, 0) - ), - kids=[ - StringFileInfo( - [ - StringTable( - u'040904B0', - [StringStruct(u'CompanyName', u'FNBB Devs'), - StringStruct(u'FileDescription', u'Nolang'), - StringStruct(u'FileVersion', u'0.0.8.0'), - StringStruct(u'InternalName', u'Nolang CLI'), - StringStruct(u'LegalCopyright', u'Copyright (c) 2023 FNBBDevs'), - StringStruct(u'OriginalFilename', u'nolang.exe'), - StringStruct(u'ProductName', u'nolang'), - StringStruct(u'ProductVersion', u'0.0.8.0')]) - ]), - VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) - ] -) \ No newline at end of file diff --git a/buid/version.yml b/buid/version.yml deleted file mode 100644 index 9c736b1..0000000 --- a/buid/version.yml +++ /dev/null @@ -1,7 +0,0 @@ -Version: 0.0.8.0 -CompanyName: FNBB Devs -FileDescription: Nolang -InternalName: Nolang CLI -LegalCopyright: Copyright (c) 2023 FNBBDevs -OriginalFilename: nolang.exe -ProductName: nolang \ No newline at end of file From 84317529558ce9da87cccb2eb47c27fb517ec852 Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:17:54 -0500 Subject: [PATCH 05/11] fasdfasdrfsei5usdfhjgnsdfklfgjasdraS --- .gitignore | 1 - build/update_version.py | 39 ++++++++++++++++++++++++++++++++++++ build/version.txt | 44 +++++++++++++++++++++++++++++++++++++++++ build/version.yml | 7 +++++++ 4 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 build/update_version.py create mode 100644 build/version.txt create mode 100644 build/version.yml diff --git a/.gitignore b/.gitignore index bbdc5d2..d34c73a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,6 @@ __pycache__/ # Distribution / packaging .Python -build/ develop-eggs/ dist/ downloads/ diff --git a/build/update_version.py b/build/update_version.py new file mode 100644 index 0000000..2a0b174 --- /dev/null +++ b/build/update_version.py @@ -0,0 +1,39 @@ +import sys +import re + +if len(sys.argv) != 2: + print("""Problem with argument.\n + Expected exactly one argument with new version number - e.g. '0.0.0.0'""") + exit(1) + +new_version = sys.argv[1] + +if re.match(r"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+", new_version) == None: + print("Wrong format of argument:", new_version, + "\nRequired format: 0.0.0.0") + exit(1) + +""" +Update the version.yml file to change the version number +""" +with open("./version.yml", "r", encoding="utf8") as version_file: + version_file_lines = version_file.readlines() + version_file_lines[0] = f"Version: {new_version}\n" + +with open("./version.yml", "w", encoding="utf8") as version_file: + version_file.writelines(version_file_lines) + +""" +Update the nolang.py file to change the version number +""" +with open("../nolang.py", "r", encoding="utf8") as nolang_file: + lines = nolang_file.readlines() + for idx, line in enumerate(lines): + if line[:2] == "__": + line = line.split(" ") + line[2] = f"\"{new_version}\"" + line = " ".join(line) + lines[idx] = line+"\n" + break +with open("../nolang.py", "w", encoding="utf8") as nolang_file: + nolang_file.writelines(lines) diff --git a/build/version.txt b/build/version.txt new file mode 100644 index 0000000..a3ab580 --- /dev/null +++ b/build/version.txt @@ -0,0 +1,44 @@ +# UTF-8 +# +# For more details about fixed file info 'ffi' see: +# http://msdn.microsoft.com/en-us/library/ms646997.aspx + +VSVersionInfo( + ffi=FixedFileInfo( + # filevers and prodvers should be always a tuple with four items: (1, 2, 3, 4) + # Set not needed items to zero 0. Must always contain 4 elements. + filevers=(0,0,8,0), + prodvers=(0,0,8,0), + # Contains a bitmask that specifies the valid bits 'flags'r + mask=0x3f, + # Contains a bitmask that specifies the Boolean attributes of the file. + flags=0x0, + # The operating system for which this file was designed. + # 0x4 - NT and there is no need to change it. + OS=0x40004, + # The general type of file. + # 0x1 - the file is an application. + fileType=0x1, + # The function of the file. + # 0x0 - the function is not defined for this fileType + subtype=0x0, + # Creation date and time stamp. + date=(0, 0) + ), + kids=[ + StringFileInfo( + [ + StringTable( + u'040904B0', + [StringStruct(u'CompanyName', u'FNBB Devs'), + StringStruct(u'FileDescription', u'Nolang'), + StringStruct(u'FileVersion', u'0.0.8.0'), + StringStruct(u'InternalName', u'Nolang CLI'), + StringStruct(u'LegalCopyright', u'Copyright (c) 2023 FNBBDevs'), + StringStruct(u'OriginalFilename', u'nolang.exe'), + StringStruct(u'ProductName', u'nolang'), + StringStruct(u'ProductVersion', u'0.0.8.0')]) + ]), + VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) + ] +) \ No newline at end of file diff --git a/build/version.yml b/build/version.yml new file mode 100644 index 0000000..9c736b1 --- /dev/null +++ b/build/version.yml @@ -0,0 +1,7 @@ +Version: 0.0.8.0 +CompanyName: FNBB Devs +FileDescription: Nolang +InternalName: Nolang CLI +LegalCopyright: Copyright (c) 2023 FNBBDevs +OriginalFilename: nolang.exe +ProductName: nolang \ No newline at end of file From 6d1a4b78ac1ebdde7ce7cedeab2e5d81ad9f5eaa Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:23:04 -0500 Subject: [PATCH 06/11] build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8428f2c..230ec12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: inputs: version_tag: description: "Version of the build" - default: "0.0.0" + default: "0.0.0.0" name: description: "Name for this release" default: "Generic Release Name" @@ -30,7 +30,7 @@ jobs: pip install -r requirements.txt - name: update build version from input run: | - python build\update_version.py ${{ github.event.inputs.version_tag }} + python D:\a\nolang\nolang\build\update_version.py ${{ github.event.inputs.version_tag }} - name: create the version file run: | create-version-file D:\a\nolang\nolang\build\version.yml --outfile D:\a\nolang\nolang\build\version.txt From 9d20636ab6dddca898d932bc9afaf352b70d3f98 Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:26:57 -0500 Subject: [PATCH 07/11] update --- build/update_version.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/update_version.py b/build/update_version.py index 2a0b174..7c047e6 100644 --- a/build/update_version.py +++ b/build/update_version.py @@ -16,17 +16,17 @@ """ Update the version.yml file to change the version number """ -with open("./version.yml", "r", encoding="utf8") as version_file: +with open(r"D:\a\nolang\nolang\build\version.yml", "r", encoding="utf8") as version_file: version_file_lines = version_file.readlines() version_file_lines[0] = f"Version: {new_version}\n" -with open("./version.yml", "w", encoding="utf8") as version_file: +with open(r"D:\a\nolang\nolang\build\version.yml", "w", encoding="utf8") as version_file: version_file.writelines(version_file_lines) """ Update the nolang.py file to change the version number """ -with open("../nolang.py", "r", encoding="utf8") as nolang_file: +with open(r"D:\a\nolang\nolang\nolang.py", "r", encoding="utf8") as nolang_file: lines = nolang_file.readlines() for idx, line in enumerate(lines): if line[:2] == "__": @@ -35,5 +35,5 @@ line = " ".join(line) lines[idx] = line+"\n" break -with open("../nolang.py", "w", encoding="utf8") as nolang_file: +with open(r"D:\a\nolang\nolang\nolang.py", "w", encoding="utf8") as nolang_file: nolang_file.writelines(lines) From 8030e5887e7dd747cc58b0af6037aa015af19f50 Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:30:07 -0500 Subject: [PATCH 08/11] build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 230ec12..65aa4f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: create-version-file D:\a\nolang\nolang\build\version.yml --outfile D:\a\nolang\nolang\build\version.txt - name: run pyinstaller run: | - pyinstaller --noconfirm --onedir --console --icon "../nolang/nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --add-data "../nolang/nolang;nolang/" "../nolang/nolang.py" --distpath D:\a\nolang\nolang\dist + pyinstaller --noconfirm --onedir --console --icon "../nolang/nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --add-data "../nolang/nolang;nolang/" --distpath D:\a\nolang\nolang\dist - name: package to zip run: Compress-Archive -Path D:\a\nolang\nolang\dist\nolang -Destination D:\a\nolang\nolang\dist.zip - uses: actions/upload-artifact@v2 From c23d000162bc2e49b64b826aec36930138452588 Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:35:25 -0500 Subject: [PATCH 09/11] build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65aa4f4..7f6d91e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: create-version-file D:\a\nolang\nolang\build\version.yml --outfile D:\a\nolang\nolang\build\version.txt - name: run pyinstaller run: | - pyinstaller --noconfirm --onedir --console --icon "../nolang/nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --add-data "../nolang/nolang;nolang/" --distpath D:\a\nolang\nolang\dist + pyinstaller --noconfirm --onedir --console --icon "D:\a\nolang\nolang\nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --distpath D:\a\nolang\nolang\dist --add-data "D:\a\nolang\nolang;nolang\" "D:\a\nolang\nolang\nolang.py" - name: package to zip run: Compress-Archive -Path D:\a\nolang\nolang\dist\nolang -Destination D:\a\nolang\nolang\dist.zip - uses: actions/upload-artifact@v2 From 29ffce8676feb8e020ebba3022676f4e35d3066a Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:37:40 -0500 Subject: [PATCH 10/11] DFAsdf --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f6d91e..496727a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: create-version-file D:\a\nolang\nolang\build\version.yml --outfile D:\a\nolang\nolang\build\version.txt - name: run pyinstaller run: | - pyinstaller --noconfirm --onedir --console --icon "D:\a\nolang\nolang\nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --distpath D:\a\nolang\nolang\dist --add-data "D:\a\nolang\nolang;nolang\" "D:\a\nolang\nolang\nolang.py" + pyinstaller --noconfirm --onedir --console --icon "D:\a\nolang\nolang\nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --distpath "D:\a\nolang\nolang\dist" --add-data "D:\a\nolang\nolang;nolang\" "D:\a\nolang\nolang\nolang.py" - name: package to zip run: Compress-Archive -Path D:\a\nolang\nolang\dist\nolang -Destination D:\a\nolang\nolang\dist.zip - uses: actions/upload-artifact@v2 From 7a62da84f4403f7bae36cc4e458b9b63974ef25a Mon Sep 17 00:00:00 2001 From: ethanlchristensen Date: Sun, 8 Oct 2023 16:40:57 -0500 Subject: [PATCH 11/11] DFAsdf --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 496727a..a4222dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: create-version-file D:\a\nolang\nolang\build\version.yml --outfile D:\a\nolang\nolang\build\version.txt - name: run pyinstaller run: | - pyinstaller --noconfirm --onedir --console --icon "D:\a\nolang\nolang\nolang.ico" --name "nolang" --version-file " D:\a\nolang\nolang\build\version.txt" --distpath "D:\a\nolang\nolang\dist" --add-data "D:\a\nolang\nolang;nolang\" "D:\a\nolang\nolang\nolang.py" + pyinstaller --noconfirm --onedir --console --icon "D:\a\nolang\nolang\nolang.ico" --name "nolang" --version-file "build\version.txt" --distpath "D:\a\nolang\nolang\dist" --add-data "D:\a\nolang\nolang;nolang\" "D:\a\nolang\nolang\nolang.py" - name: package to zip run: Compress-Archive -Path D:\a\nolang\nolang\dist\nolang -Destination D:\a\nolang\nolang\dist.zip - uses: actions/upload-artifact@v2