mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1925] proxyman cli import does not activate "allow system environment" Scripting permission #1917
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1917
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @samybenatt on GitHub (Feb 2, 2024).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1925
Originally assigned to: @NghiaTranUIT on GitHub.
Description
proxyman cli import does not activate "allow system environment" permission
Steps to Reproduce
Create script and activate "allow system environment" permission

Export current scripting settings with proxyman cli export
Remove scripting rule and disable system environment permission to reset Proxyman state
Close Proxyman
Import scripting settings with proxyman cli import
Current Behavior
proxyman cli import does not activate "allow system environment" permission of Scripting on import of settings
Expected Behavior
proxyman cli export should keep the state of Scripting advanced permission and proxyman cli import should be able to import it
Environment
Proxyman macOS 4.16.0
@samybenatt commented on GitHub (Feb 19, 2024):
@NghiaTranUIT Not sure if this one is related to the previous bug you fixed or not #(1924)
I marked it as a bug but might be a enhancement, let me know if you need me to update the label
@NghiaTranUIT commented on GitHub (Feb 20, 2024):
@samybenatt from what I see, the Export Scripting data doesn't include the Scripting Setting. For now, it only exports the Script data itself.
Do you need these settings should be exported too ?
@samybenatt commented on GitHub (Feb 20, 2024):
@NghiaTranUIT Thanks for your reply.
For consistent CLI import/export, I feel that the script options should be included into the exported json too so it's easy to restore the exact same Proxyman script overall configuration (script + options enabled) from one environment to another (especially when those options are used within the script)