Application: Sigil
Category: Office
Description: Sigil is a multi-platform WYSIWYG ebook editor. It is designed to edit books in ePub format.
Download Sigil Portable 0.6.2 Development Test 2 [12.6MB download / 45.5MB installed]
Release Notes:
Development Test 2 (2012-12-18): Compatibility Release
Development Test 1 (2012-12-16): Initial Release
This version will run with nothing left behind under Windows XP. It will also run under Windows 7, however, it will leave ini files behind under %USERPROFILE%\AppData\Local\sigil-ebook. I am working on a version for Windows 7. The issue I have is the ini files for Sigil are in different folders depending on what OS you are running. Any suggestions on how to handle this difference? There are no environment variables which link to the parent of \sigil-ebook on either system. I could simply delete the abandoned files, but I would like to make use of PAP's mobile config files, however I have not found a way to specify different folders by OS.
Use %LOCALAPPDATA%. It is one of the environment variables created specifically by and for the PortableApps Launcher.
Fixed, tested and uploaded! Thank you for the link to the manual!
Users may disregard my first comment!
This is a basic portable version. I did not test against the Platform. I have only configured the bare minimums to allow Sigil to run properly.
appinfo.ini
Icons
launcher.ini
Other Stuff:
Otherwise portability looks fine from the Regshot logs. The only other suggestions I can make are to add file association stuff to your appinfo.ini ready for when the Platform/Launcher handle it, and add language switching.
If you need help with anything let us know.
Every time I close Sigil Portable, the folder %USERPROFILE%\AppData\Local\sigil-ebook\sigil is emptied. That includes all user's dictionaries and all INI files located there.
Is it an isolated behavior, or it was designed to work like this?
Note: When starting Sigil directly from \PortableApps\SigilPortable\App\Sigil\Sigil.exe (NOT from the PortableApps platform) the folder %USERPROFILE%\AppData\Local\sigil-ebook\sigil is preserved, together with all its content.
Thank you,
Oselut
The contents of %LOCALAPPDATA%\sigil-ebook are moved to Data\SigilSettings on exit. And the reverse on start. Existing items in that local folder are backed up on run and restored on exit. If the files created by Sigil Portable were left there on exit, it wouldn't be portable, it would be a local install.
Sometimes, the impossible can become possible, if you're awesome!
The move process from "%LOCALAPPDATA%\sigil-ebook" to "Data\SigilSettings" works fine, when Sigil closes. But the other way around process, when Sigil starts, doesn't copy the files as expected.
For example: following files are not copied (correctly):
- the dictionaries in "%LOCALAPPDATA%\sigil-ebook\sigil\user_dictionaries\" - not copied at all, except for "default"
- the ini files in "%LOCALAPPDATA%\sigil-ebook\sigil". Here the most visible issue is that the list of most recently opened files and default folder when opening a document are not saved.
Checking the content of the file %LOCALAPPDATA%\sigil-ebook\sigil\sigil.ini after Sigil starts, only this can be found:
[updatechecker]
last_check_time=@Variant(\0\0\0\x10\0%|b\x3\v\xa3\x3\xff)
last_online_version=
[user_preferences]
rename_template=
#end of file
While the original file has 378 lines and starts with:
[updatechecker]
last_check_time=@Variant(\0\0\0\x10\0%|b\x2\x1f\xe\x16\xff)
last_online_version=
[user_preferences]
rename_template=
user_dictionary_name=Romanian
book_view_font_family_standard=Arial
....
....
Thank you for your time and concern,
Oselut
I released this over here: https://portableapps.com/news/2012-12-21--sigil-portable-0.6.2-released#...
And was wondering if you'd like to take it over officially.
Sometimes, the impossible can become possible, if you're awesome!