You are here

Sigil Portable 0.6.2

9 posts / 0 new
Last post
OopsSPC
Offline
Last seen: 5 months 2 weeks ago
Joined: 2012-12-16 22:58
Sigil Portable 0.6.2

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

  • Fixed Launcher config to support both XP and Vista/7.
  • Fixed incorrect version numbers in this post.
  • Development Test 1 (2012-12-16): Initial Release

  • Updated dougakins version to support Sigil 0.6.2. Please see post below for additional information.
  • OopsSPC
    Offline
    Last seen: 5 months 2 weeks ago
    Joined: 2012-12-16 22:58
    Important Information!!

    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.

    • Windows XP: %USERPROFILE%\Local Settings\Application Data\sigil-ebook
    • Windows 7: %USERPROFILE%\AppData\Local\sigil-ebook

    Ken Herbert
    Ken Herbert's picture
    Online
    Last seen: 11 min 57 sec ago
    DeveloperModerator
    Joined: 2010-05-25 18:19
    Easy

    Use %LOCALAPPDATA%. It is one of the environment variables created specifically by and for the PortableApps Launcher.

    OopsSPC
    Offline
    Last seen: 5 months 2 weeks ago
    Joined: 2012-12-16 22:58
    Fixed!

    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.

    Ken Herbert
    Ken Herbert's picture
    Online
    Last seen: 11 min 57 sec ago
    DeveloperModerator
    Joined: 2010-05-25 18:19
    Feedback

    appinfo.ini

    • Name should just be Sigil Portable - it should not include the version
    • AppId should just be SigilPortable - I can see why you may have done this, but different AppIds should only be used for different apps.
    • Publisher just needs to be Sigil Team & PortableApps.com - you get your name in lights in this thread, and if it goes official your name will be all over it there, too.

    Icons

    • Your appicon.ico needs 8-bit versions of the 48, 32 & 16px icons.
    • Your appicon.ico doesn't need a 128px icon.

    launcher.ini

    • You can remove the SingleAppInstance line - you've got it set at the default value.
    • You don't need the [DirectoriesCleanupIfEmpty] - your [DirectoriesMove] moves the folder so it won't be there when this directive runs.
    • You should be able to remove [QtKeysCleanup] #4 and the [RegistryCleanupIfEmpty] section. These keys should be automatically handled by the [QtKeysCleanup] directive.

    Other Stuff:

    • Other\Source\SigilPortable.ini should not have been renamed. You should change it back to AppNamePortable.ini.
    • Remove the Data directory, it shouldn't be in a fresh install.
    • Remove the App\DefaultData directory if there is nothing that needs to go in there.

    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.

    oselut
    Offline
    Last seen: 8 years 6 months ago
    Joined: 2014-01-15 06:14
    Delete content of AppData folder on exit

    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

    John T. Haller
    John T. Haller's picture
    Offline
    Last seen: 7 hours 5 min ago
    AdminDeveloperModeratorTranslator
    Joined: 2005-11-28 22:21
    Moved

    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!

    oselut
    Offline
    Last seen: 8 years 6 months ago
    Joined: 2014-01-15 06:14
    Then not working as expected?

    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

    John T. Haller
    John T. Haller's picture
    Offline
    Last seen: 7 hours 5 min ago
    AdminDeveloperModeratorTranslator
    Joined: 2005-11-28 22:21
    Release

    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!

    Log in or register to post comments