mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 09:05:54 +03:00
[GH-ISSUE #679] [Feature Request] - Add support for importing and exporting scripts, and perhaps breakpoints too. #674
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#674
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 @mprice-banno on GitHub (Nov 5, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/679
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
2.11.1 (21110
macOS Version? (Ex. mac 10.14)
10.15.6
I would like to be able to export, and import, Proxyman scripts in order to share them between team members. Currently the only way to share a script is a bit of a hassle as the .js script doesn't include the matching rules.
Additionally the script uses a hex filename, which doesn't lend well to sharing and identifying what it does.
Ideally, exporting a script would be a single file that contains:
Whilst not as important, it would also be nice to be able to import and export breakpoint configurations as well.
Thanks! Keep up the great work on this indispensable tool.
@NghiaTranUIT commented on GitHub (Nov 5, 2020):
It totally makes sense to share the script between your colleagues. Since it's straightforward to implement, it will do it in the next release 👍.
Thanks for opening the detailed ticket 😄
@NghiaTranUIT commented on GitHub (Nov 6, 2020):
@mprice-banno let check out this build https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.11.1_Import_Export_Script_Rules.dmg
You can now export and import the entire Script too 👍
I will support Breakpoint now 👍
@NghiaTranUIT commented on GitHub (Nov 7, 2020):
v2 Update: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.11.1_Import_Export_Scripting_And_Breakpoint_Rules.dmg
@mprice-banno commented on GitHub (Nov 9, 2020):
@NghiaTranUIT I just gave it a try, was able to export a script, but when I tried to import it, running on a different system, it failed with
Could not Import Rules! - The folder “5F0D1383.js” doesn’t exist.which matches thefilePathin the exported config file.id":"5F0D1383","filePath":"\/Users\/markprice\/Library\/Application Support\/com.proxyman.NSProxy\/scripts\/5F0D1383.js"Importing the same config file, on the system it was exported, from works.
@NghiaTranUIT commented on GitHub (Nov 10, 2020):
Sorry for this inconvenience @mprice-banno.
Please check out this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.11.1_Bug_Import_Export_Script.dmg
I'm to reproduce your bug in my teammate's machine and it's fixed 👍 😄
@loganjones commented on GitHub (Nov 11, 2020):
@mprice-banno sent me a script exported from his machine and it imported for me successfully. Works great!
@mprice-banno commented on GitHub (Nov 11, 2020):
Thanks for implementing this! This helps so much!
I have a related feature request, and I'll file that separately. New request would be to add the ability to create groups of scripts, so you can arrange them by project for example, and even import/export groups of scripts.
A visual example of this is the way text expander tool aText does it.
@NghiaTranUIT commented on GitHub (Nov 11, 2020):
Thanks, guys for confirming that it works well 😄
Yes, we've received this feature request, "Group Rules to Folder" too. I will push this feature soon 👍