Suggesting/requesting that Calibre Portable include the standalone ebook-edit.exe and ebook-viewer.exe programs located in PortableApps\calibrePortable\App\Calibre be included, therefore independently launchable from the PortableApps.com Platform, in the PortableApps\calibrePortable directory.
To clarify, I mean that Calibre Portable ought to be packaged like OpenOffice Portable and LibreOffice Portable. ebook-edit.exe and ebook-viewer.exe are technically standalone applications that ebook developers and end-user modifiers alike benefit from using independently of the main calibrePortable.exe manager program. Because we don't have different import versions of the in-development or currently modifying ebook project we're working on cluttering up our Calibre library. Which is otherwise, as currently packaged, the only way to launch and utilize these applications for development purposes and, for developers and modifiers, resulting in an avoidable mess of our Library to deal with.
I understand OpenOffice and LibreOffice are currently the only exceptions to apps featuring multiple executables, as described. I also understand that the PortableApps.com Launcher cannot, at least in of itself, be used to achieve this result. It is entirely unclear how to manually attempt it.
Failing the official release(s) of this packaged that way, I'd appreciate information on how to package, or modify the existing PAF of it, this software as described myself in PAF format. With as many details and/or examples as possible, if possible. Please and thank you.
_______________
Additionally, as an example of the sort of how-to information I'm seeking, I'd be curious to know if it could be as simply done as to make a copy of the existing Calibre Portable PAF, modifying the PortableApps\calibrePortable\App\AppInfo/appinfo.ini and/or PortableApps\calibrePortable\App\AppInfo\Launcher/calibrePortable.ini then using the PortableApps.com Launcher to get an .exe of these two where they need to be, and then roll them into one, or if other methods to these means are required. And if so, what and how?
Notepad++ to create the following batch files:
@ECHO OFFtitle Calibre Editor Launcher
call "App\Calibre\ebook-edit.exe"
exit
Save as
CalibreEditorPortable.bat[driveletter]:\PortableApps\PortableApps\calibrePortabledirectory.@ECHO OFFtitle Calibre Viewer Launcher
call "App\Calibre\ebook-viewer.exe"
exit
Save as
CalibreViewerPortable.batto [driveletter]:\PortableApps\PortableApps\calibrePortabledirectory._
Bat to Exe Converter to convert the previous batch files to executable files.
Navigate to [driveletter]
:\PortableApps\PortableApps\calibrePortabledirectory.Select
CalibreViewerPortable.batSave as:
CalibreViewerPortable.exeUnder
VisibilityselectInvisible applicationUnder
Working directoryselectCurrent directoryUnder
Temporary filesselectDelete on exitUnder
EncryptionleaveEncrypt the programuncheckedUnder
Miscellaneousleave all uncheckedUnder
Architectureselect64 BitSelect
Compile.Repeat for CalibreEditorPortable.bat
_
IconViewer
Install it (locally; it is not portable).
Navigate to [driveletter]
:\PortableApps\PortableApps\calibrePortable\App\CalibreSelect
ebook-viewer.exeand Right-Click it.Select
Properties.Select
Iconstab.Select
256x256 (PNG)Click on the save button icon.
Navigate to [driveletter]
:\PortableApps\Documents\PicturesSave as:
ebook-viewer.icoRepeat for ebook-edit.exe
_
Resource Hacker
Navigate to [driveletter]
:\PortableApps\PortableApps\calibrePortabledirectory.Select
File>Open...>Navigate to [driveletter]
:\PortableApps\PortableApps\calibrePortable\CalibreViewerPortable.exeSelect
OpenSelect
Action>Add an Image or other Binary Resource...Select
File...Navigate to [driveletter]
:\PortableApps\Documents\Pictures\ebook-viewer.icoSelect
open.Name the icon
ebook-viewer.Select
Add Resource.Save.
Repeat for CalibreEditorPortable.exe
_
Notepad++
File>OpenNavigate to [driveletter]
:\PortableApps\PortableApps\calibrePortable\App\AppInfo\appinfo.iniSelect
openDefault:
[Control]BaseAppID=com.calibre-ebook.main-gui
Icons=1
Start=calibrePortable.exe
Changes:
[Control]BaseAppID=com.calibre-ebook.main-gui
Icons=3
Start=calibrePortable.exe
Start1=calibrePortable.exe
Name1=Calibre Portable
Start2=CalibreEditorPortable.exeName2=Calibre Editor Portable
Start3=CalibreViewerPortable.exeName3=Calibre Viewer Portable
Save.
_
Add the new .ico files to AppInfo
Navigate to [driveletter]
:\PortableApps\Documents\PicturesSelect both
ebook-viewer.icoandebook-edit.icoRight-Click > Copy.
Navigate to [driveletter]
:\PortableApps\PortableApps\calibrePortable\App\AppInfoRight-Click > Paste.
Rename
ebook-edit.icotoappicon2.icoRename
ebook-viewer.icotoappicon3.icoCopy and paste the existing
appicon.icowhich becomesappicon - Copy.icoRename that copy to
appicon1.ico_
Cleanup
Navigate to [driveletter]
:\PortableApps\PortableApps\calibrePortabledirectory.Delete
CalibreEditorPortable.batandCalibreViewerPortable.batDelete
CalibreEditorPortable_original.exeandCalibreViewerPortable_original.exeNavigate to [driveletter]
:\PortableApps\Documents\PicturesDelete
ebook-edit.icoandebook-viewer.ico_
That should be it.
Presumably, the appinfo.ini will reset to defaults with future calibre Portable updates. I don't know about the executable and icon files. I'd suggest keeping a copy of this modified version elsewhere to reapply these modifications to future calibre Portable releases without having to go through all of this from absolute scratch again (our executable files should continue to work providing the actual executables of them in the program do not change name or directory location).
Installable:
Get the installable from GitHub
Manually:
Get the manually applied assets from GitHub