Repository navigation
Conversation
- introducing support for .sandbox files
|
Now that the foundation is in place (checksums, the
@cheack @vishnu350 , would you like to lend a hand? |
The option --env will evolve on this base
The function is now able to recognize the two types of installations. Now it is time to take action.
|
The function _use_env is now able to recognize if the AppImage is "$APPIMAGE" or "$APPIMAGE.real". Its not much but it is a first step to recognize what file we have to check, in a way to apply the needed actions. In first, I would like to recognize the AppImages involved with the "legacy" sandbox method. |
Keep dev in sync with main
repeat the command to create the .env file
|
The option --env is now able to create the script: this is the content of course, $APPIMAGE is replaced with the full path to the app. The script is also able to run AppImages that require libfuse2. Also, .home and .config directories are exported if present. @Samueru-sama please see if the XDG settings are OK. Thanks. |
|
In my previous commits I added backup and reinstallation of .sandbox files that will be sourced by the AppImage's wrapper, during the reinstallation. Now it is time to work on sandboxing. To do so I will need to rewrite the sandbox script. As an approach, I will convert all main instructions to a function named The --env option is already able to avoid existing legacy sandboxes. The user will need to re-sandbox the AppImage if it will need to use the new approach. Old behavior is safe until the next reinstallation. |
|
@cheack @vishnu350 I think I finally managed to support both legacy and new sandboxing support. Please take a look at it for confirm. |
|
This change also works with @kazam0180 @Samueru-sama @fiftydinar Every time the installed AppImage is detected as dependent from FUSE2, it will be replaced with the wrapper. |
|
Now its time for sub-options or flags for the new --env option.
Any suggestion or contribute is welcome. |
|
USAGE: to add the .real extension to the AppImage and replace it with a wrapper, plus the creation of a .env file to be sourced. to recreate the .env file. to edit the .env file with |
Keep dev in sync with main
|
I haven’t added any warning messages; instead, I’ve simply included the instructions in the help message. If you have anything else to suggest or add, please let me know. I’d like to get this release out as soon as possible. @cheack @kazam0180 @Shikakiben @vishnu350 @fiftydinar @Samueru-sama |
Keep dev in sync with main
Add message to --env --reset
Keep dev in sync with main
* Sync locale files * Add files via upload * Sync locale files * Add files via upload * Sync locale files --------- Co-authored-by: ivan-hc <[email protected]>
|
We are ready! "AM" 11 will be released in less than 24 hours from now. |
Keep dev in sync with main
* Sync locale files * Add files via upload * Sync locale files * Add files via upload * Sync locale files --------- Co-authored-by: ivan-hc <[email protected]>
Rework of https://github.com/ivan-hc/AM/pull/3020/changes
Support has been introduced for AppImage packages, which can be renamed to .real if they are replaced by a script.
To-do (steps):
-fsupport--envoption to create and handle such scripts--sandboxsupport--envusage in management.am--rollbacksupportnolibfusesupport-Hand-Csupport--env, or refine it--env--envto the help message and translationsLet’s hope this is the right time.
fix #2832