|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#16 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
|
@DiapDealer: Yes, the current version of AppImage would be great.
EDIT: Unknown lines are saved here: Code:
# unknown
lines.append(stripped)
Last edited by BeckyEbook; 08-23-2025 at 03:39 PM. Reason: Remove buggy 0.1.2 version. |
|
|
|
|
|
#17 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,235
Karma: 211539966
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
https://github.com/dougmassay/win-qt...s/tag/v5.212-1 There's a Sigil-2.6.2-x86_64.AppImage asset at that link. 0.1.2 is now preserving my custom/unknown variables. Thanks! But now I notice that unchecking some boxes in the gui (like for SIGIL_SKIP_UPDATE_CHECK) does not remove (or change) that variable in the file. It stays SIGIL_SKIP_UPDATE_CHECK=1. |
|
|
|
|
|
|
#18 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
|
I ran a few tests and I hope that both objectives were achieved: restoring the broken deletion of entries without selection or entered values, and preserving unknown environment variables.
Last edited by BeckyEbook; 08-25-2025 at 02:45 AM. Reason: The newer version of the plugin is in the first post. |
|
|
|
|
|
#19 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,235
Karma: 211539966
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
A quick test of 0.1.3 looks great! Thanks!
|
|
|
|
|
|
#20 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
|
I have published a new version of the plugin in the first post. Feel free to test it.
Here's a planned improvement I hope to add soon: the env-vars.txt file is optional, meaning users can still set environment variables in the traditional way – directly within the system via the command line, another application, or a batch/sh script. My goal is to add a new feature that will display information within a dialog box, letting the user know if a specific Sigil environment variable has been set at the system level instead of in the env-vars.txt file. |
|
|
|
|
|
#21 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 952
Karma: 3501880
Join Date: Jan 2017
Location: Poland
Device: Various
|
TL;DR: The beta version is available in the second post. Minimum Sigil version: 2.7.6
I’ve just uploaded a new beta version of the Environment Variables Manager plugin. This update is specifically designed to support the latest changes in Sigil 2.7.6 while also introducing several "Quality of Life" improvements to the user interface. What's New in v0.1.15 (Beta): Support for Unsetting Variables (Sigil 2.7.6+): Following the recent Sigil update, you can now explicitly "unset" environment variables. The plugin now supports the new tilde (~) prefix. In the dropdown menu, simply select "Unset", and the variable will be removed from the environment upon the next Sigil launch. Smarter UI Automation:
Note for Beta Testers: This version has been tested on my setup, but since it involves new UI logic (signal blocking to prevent feedback loops), I’d appreciate any feedback – especially if you notice any quirks when switching between "Set", "Not set", and "Unset" modes. The plugin should be stable, but as always with beta software, keep a backup of your env-vars.txt if you have a very complex setup. Looking forward to your feedback! |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sigil Qt6 and GUI plugin development changes | DiapDealer | Plugins | 26 | 11-16-2023 11:12 AM |
| [Plugin] SelfCSS for Sigil WYSIWYG CSS editor | byword | Plugins | 5 | 08-30-2023 09:44 AM |
| QT scaling - Ways to change Environment Variables in Windows | Comfy.n | Calibre | 4 | 08-11-2022 11:20 PM |
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
| [Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor | thiago.eec | Development | 7 | 01-09-2019 08:05 PM |