Skip to content

Commit

Permalink
exe info & distro info
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrj committed Jan 27, 2024
1 parent 1e4a30c commit 8e28c9d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/nuitka.run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
@echo running-nuitka
@echo wd:%CD%

@echo|set /p="nuitka " > distro.info.txt
@echo|set /p="Nuitka " > distro.info.txt
python -m nuitka --version >> distro.info.txt

@echo.
@echo running-nuitka-stage_librer
python -m nuitka --include-data-file=./distro.info.txt=./distro.info.txt --include-data-file=./version.txt=./version.txt --include-data-file=../LICENSE=./LICENSE --enable-plugin=tk-inter --lto=yes --follow-stdlib --assume-yes-for-downloads --windows-disable-console --output-dir=%outdir% --standalone --output-filename=librer ./librer.py
python -m nuitka --windows-icon-from-ico=./icon.ico --include-data-file=./distro.info.txt=./distro.info.txt --include-data-file=./version.txt=./version.txt --include-data-file=../LICENSE=./LICENSE --output-dir=%outdir% --standalone --lto=yes --follow-stdlib --assume-yes-for-downloads --product-version=%VERSION% --copyright="2023-2024 Piotr Jochymek" --file-description="Librer" --enable-plugin=tk-inter --windows-disable-console --output-filename=librer ./librer.py

@echo.
@echo running-nuitka-stage_record
python -m nuitka --include-data-file=./distro.info.txt=./distro.info.txt --include-data-file=./version.txt=./version.txt --include-data-file=../LICENSE=./LICENSE --output-dir=%outdir% --lto=yes --follow-stdlib --assume-yes-for-downloads --standalone ./record.py --output-filename=record
python -m nuitka --windows-icon-from-ico=./icon.ico --include-data-file=./distro.info.txt=./distro.info.txt --include-data-file=./version.txt=./version.txt --include-data-file=../LICENSE=./LICENSE --output-dir=%outdir% --standalone --lto=yes --follow-stdlib --assume-yes-for-downloads --product-version=%VERSION% --copyright="2023-2024 Piotr Jochymek" --file-description="Librer-record" ./record.py --output-filename=record

move %OUTDIR%\record.dist\record.exe %OUTDIR%\librer.dist
move %OUTDIR%\librer.dist %OUTDIR%\librer
Expand Down
2 changes: 1 addition & 1 deletion scripts/nuitka.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ echo ''
echo running-nuitka
echo wd:`pwd`

echo -n "nuitka: " > distro.info.txt
echo -n "Nuitka: " > distro.info.txt
python3 -m nuitka --version >> distro.info.txt

echo ''
Expand Down
2 changes: 1 addition & 1 deletion src/librer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@ def get_about_dialog(self):
frame2 = LabelFrame(self.aboout_dialog.area_main,text='',bd=2,bg=self.bg_color,takefocus=False)
frame2.grid(row=1,column=0,sticky='news',padx=4,pady=(2,4))

lab2_text= distro_info + '\n\nCurrent log file: ' + log_file
lab2_text = '\n' + distro_info + '\n\nCurrent log file: ' + log_file + '\n'

lab_courier = Label(frame2,text=lab2_text,bg=self.bg_color,justify='center')
lab_courier.pack(expand=1,fill='both')
Expand Down

0 comments on commit 8e28c9d

Please sign in to comment.