sl23 wrote: ↑Fri May 24, 2024 12:20 pm
Ok, first attempt and no luck! It created an X-Launcher, but x32, wrong name and without icons.
Any ideas?
A few words about
X-Launcher.
'X-Launcher' is it is a scheme generic that must be personalized with:
1. features of the app that needs to be customized (for LibreOffice update Java version)
2. the launcher MUST must be renamed with the name of the application to be customized
X-Launcher, and its customizations, are always:
1. sourche code is packaged in an archive with this structure
Code: Select all
# Archivio X-LibreOffice_launcher_1.5.4_rev20.source.zip
Readme
Readme\authors_en.txt
Readme\authors_it.txt
Readme\credits_en.txt
Readme\credits_it.txt
Readme\java_download.html
Readme\launcher_info_en.txt
Readme\launcher_info_it.txt
Readme\license_en.txt
Readme\license_it.txt
Readme\release.txt
Readme\wpp_home.html
Readme\wpp_info_en.txt
Readme\wpp_info_it.txt
Readme\x-launcher_changelog_en.txt
Readme\x-launcher_changelog_it.txtX-LibreOffice
X-LibreOffice\files
X-LibreOffice\files\x-default
X-LibreOffice\files\x-install.au3
X-LibreOffice\graphics
X-LibreOffice\graphics\x-icon.ico
X-LibreOffice\graphics\x-splash.jpg
X-LibreOffice\x-launcher.ini
X-LibreOffice\X-LibreOffice.au3
_x-launcher
_x-launcher\image_get_size.au3
_x-launcher\x-launcher.au3
_x-launcher\x-registry.au3
_x-launcher\x-udf.au3eate
#
# File
# 30
2. 32 bit programs (after compilation)
X-Launcher source code are hosted on Sourceforge.net in a subfolder of the program name:
for example X-LibreOffice is at
https://sourceforge.net/projects/winpen ... breOffice/, then 'launcher_sources' and finally You can download latest source code:
https://sourceforge.net/projects/winpen ... p/download.
How to create a compiled version of the personalized launcher:
1. create asubfolder with name, for example, 'launcher64'
2. unzip in this susfolder the downloaded source archive
3. open X-SciTE and open the file 'X-LibreOffice\X-LibreOffice.au3'
--> remember that X-program_name is Always the main source code folder and the file X-LibreOffice\X-LibreOffice.au3 is the main source code
--> remember that the main source code contains relative path to other subfolders (_x-launcher and Readme)
4. change the parameter '#AutoIt3Wrapper_UseX64=Y' with Yes and Save the modified file .au3 (AutoIt source code)
5. go to Tools --> Compile for obtain X-LibreOffice.exe (64 bit)
The compiled launcher has his icon ? NO (and I don't know how to insert it).
for manage icon You need of 2 (two) programs:
1. I
conExtract for Nirsoft
https://www.nirsoft.net/utils/iconsext.html for extract all icons (as cumulative file) from official program installer
2.
Resource Hacker Portable from PortableApps
https://portableapps.com/apps/utilities ... r-portable
I will tell You, with separate post, how to import the icon in compiled source code.
I have loaded on
MediaFire my updated version of source code of X-LibreOffice_launcher:
X-LibreOffice_launcher_x64_updated.zip https://www.mediafire.com/file/ds9lyv5n ... d.zip/file