You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,18 +16,29 @@ Tested on Postman versions from *`8.1.0`* to *`8.10.0`*
16
16
*`cd Postman-Scratchpad-Banner-Fix`
17
17
* Run ***`npm install`*** to install dependencies
18
18
19
-
# Linux and MacOS
19
+
# Linux
20
20
# Usage
21
21
## Patch your already installed postman
22
22
Run ***`node fix.js -r ${requester_js}`*** , where ***`${requester_js}`*** is Postman file (***`requester.js`***) which renders scratchpad banner
23
23
24
24
### requester.js path:
25
+
It can be found on path like this: ***`${Postman_install_dir}/resources/app/js/requester.js`***
25
26
26
-
* For Linux users, requester.js is used
27
-
It can be found on path like this: ***`${Postman_install_dir}/resources/app/js/requester.js`***
27
+
## Download patched postman
28
+
You can find downloads for linux and macos at [Releases](https://github.com/3omar-mostafa/Postman-Scratchpad-Banner-Fix/releases)
29
+
30
+
# MacOS
31
+
# Usage
32
+
## Patch your already installed postman
33
+
34
+
* For Postman version `8.0.0` to `8.10.0`
35
+
* Run ***`node fix.js -r ${requester_js}`*** , where ***`${requester_js}`*** is Postman file (***`requester.js`***) which renders scratchpad banner
36
+
****`${requester_js}`*** can be found on path like this: ***`${Postman_install_dir}/Contents/Resources/app/js/requester.js`***
28
37
29
-
* For MacOS users, requester.js is used
30
-
It can be found on path like this: ***`${Postman_install_dir}/Contents/Resources/app/js/requester.js`***
38
+
* For Postman version `8.11.0` or above
39
+
* Run ***`node fix.js -a ${app_asar}`*** , where ***`${app_asar}`*** is Postman file (***`app.asar`***) which is like a `tar` archive and contains most of postman's files
40
+
****`${app_asar}`*** can be found on path like this: ***`${Postman_install_dir}/Contents/Resources/app.asar`***
41
+
* You can learn more about *`asar`* file format [from here](https://github.com/electron/asar).
31
42
32
43
## Download patched postman
33
44
You can find downloads for linux and macos at [Releases](https://github.com/3omar-mostafa/Postman-Scratchpad-Banner-Fix/releases)
@@ -59,7 +70,7 @@ I've made three changes to the file (they are redundant and any one of them is e
* Modified this object to return ***`HIDE_SCRATCHPAD_BANNER`*** instead
61
72
62
-
If you are on windows, you can use [asar](https://github.com/electron/asar#command-line-utility) to extract ***`app.asar`*** and modify ***`requester.js`*** then repack it again
73
+
If you are on windows/macos, you can use [asar](https://github.com/electron/asar#command-line-utility) to extract ***`app.asar`*** and modify ***`requester.js`*** then repack it again
63
74
64
75
# Notes
65
76
This repo use github actions to automate checking for new releases every month, also can run manually for custom version
0 commit comments