Full Code of portapps/postman-portable for AI

master 362c03113845 cached
24 files
20.2 KB
8.5k tokens
3 symbols
1 requests
Download .txt
Repository: portapps/postman-portable
Branch: master
Commit: 362c03113845
Files: 24
Total size: 20.2 KB

Directory structure:
gitextract_9wbamg0n/

├── .editorconfig
├── .github/
│   ├── CODEOWNERS
│   ├── dependabot.yml
│   ├── labels.yml
│   ├── workflows/
│   │   ├── build.yml
│   │   ├── labels.yml
│   │   ├── released.yml
│   │   └── zizmor.yml
│   └── zizmor.yml
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── build.properties
├── build.xml
├── go.mod
├── go.sum
├── main.go
├── main_386.go
├── main_amd64.go
├── main_arm.go
├── main_arm64.go
└── res/
    ├── papp.manifest
    └── run.iss

================================================
FILE CONTENTS
================================================

================================================
FILE: .editorconfig
================================================
# This file is for unifying the coding style for different editors and IDEs.
# More information at http://editorconfig.org

root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.go]
indent_style = tab


================================================
FILE: .github/CODEOWNERS
================================================
*	@crazy-max


================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
  - package-ecosystem: "gomod"
    directory: "/"
    schedule:
      interval: "daily"
    cooldown:
      default-days: 2
    labels:
      - ":game_die: dependencies"
      - ":robot: bot"
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "daily"
    cooldown:
      default-days: 2
    labels:
      - ":game_die: dependencies"
      - ":robot: bot"


================================================
FILE: .github/labels.yml
================================================
## more info https://github.com/crazy-max/ghaction-github-labeler
- # bot
  name: ":robot: bot"
  color: "69cde9"
  description: ""
- # broken
  name: ":zap: broken"
  color: "a3090e"
  description: ""
- # bug
  name: ":bug: bug"
  color: "b60205"
  description: ""
- # dependencies
  name: ":game_die: dependencies"
  color: "0366d6"
  description: ""
- # documentation
  name: ":memo: documentation"
  color: "c5def5"
  description: ""
- # duplicate
  name: ":busts_in_silhouette: duplicate"
  color: "cccccc"
  description: ""
- # enhancement
  name: ":sparkles: enhancement"
  color: "0054ca"
  description: ""
- # feature request
  name: ":bulb: feature request"
  color: "0e8a16"
  description: ""
- # feedback
  name: ":mega: feedback"
  color: "03a9f4"
  description: ""
- # future maybe
  name: ":rocket: future maybe"
  color: "fef2c0"
  description: ""
- # good first issue
  name: ":hatching_chick: good first issue"
  color: "7057ff"
  description: ""
- # help wanted
  name: ":pray: help wanted"
  color: "4caf50"
  description: ""
- # hold
  name: ":hand: hold"
  color: "24292f"
  description: ""
- # invalid
  name: ":no_entry_sign: invalid"
  color: "e6e6e6"
  description: ""
- # maybe bug
  name: ":interrobang: maybe bug"
  color: "ff5722"
  description: ""
- # needs more info
  name: ":thinking: needs more info"
  color: "795548"
  description: ""
- # question
  name: ":question: question"
  color: "3f51b5"
  description: ""
- # trademark-violation
  name: ":construction: trademark violation"
  color: "cfe524"
  description: ""
- # upstream
  name: ":eyes: upstream"
  color: "fbca04"
  description: ""
- # wontfix
  name: ":coffin: wontfix"
  color: "ffffff"
  description: ""


================================================
FILE: .github/workflows/build.yml
================================================
name: build

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

on:
  workflow_dispatch:
  push:
    branches:
      - 'master'
    tags:
      - '*'
  pull_request:

jobs:
  build:
    uses: portapps/.github/.github/workflows/app-build.yml@9eaba04d36be175c7cc876ba5c57cdd9ee6d9536 # v1.1.0
    permissions:
      contents: write # required to create a GitHub release on push with a tag


================================================
FILE: .github/workflows/labels.yml
================================================
name: labels

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

on:
  push:
    branches:
      - 'master'
    paths:
      - '.github/labels.yml'
      - '.github/workflows/labels.yml'
  pull_request:
    paths:
      - '.github/labels.yml'
      - '.github/workflows/labels.yml'

jobs:
  labeler:
    runs-on: ubuntu-latest
    permissions:
      contents: read # same as global permissions
      issues: write # required to update labels
    steps:
      -
        name: Checkout
        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
      -
        name: Run Labeler
        uses: crazy-max/ghaction-github-labeler@548a7c3603594ec17c819e1239f281a3b801ab4d # v6.0.0
        with:
          dry-run: ${{ github.event_name == 'pull_request' }}


================================================
FILE: .github/workflows/released.yml
================================================
name: released

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

on:
  release:
    types: [published]

jobs:
  virustotal:
    uses: portapps/.github/.github/workflows/app-virustotal.yml@9eaba04d36be175c7cc876ba5c57cdd9ee6d9536 # v1.1.0
    permissions:
      contents: write # required to write GitHub Release body
    secrets:
      vt_api_key: ${{ secrets.VT_API_KEY }}
      vt_monitor_api_key: ${{ secrets.VT_MONITOR_API_KEY }}


================================================
FILE: .github/workflows/zizmor.yml
================================================
name: zizmor

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

permissions:
  contents: read

on:
  workflow_dispatch:
  push:
    branches:
      - 'master'
  pull_request:

jobs:
  run:
    uses: crazy-max/.github/.github/workflows/zizmor.yml@d89fe92d808a15e2b2ed5cdb62db7c172c31410d # v1.6.0
    permissions:
      actions: read
      contents: read
      security-events: write
    with:
      min-severity: medium
      min-confidence: medium
      persona: pedantic


================================================
FILE: .github/zizmor.yml
================================================
# https://docs.zizmor.sh/configuration/
rules:
  secrets-outside-env:
    disable: true


================================================
FILE: .gitignore
================================================
# Intellij
/.idea
/*.iml

# App
/.dev
/bin
/vendor
/*.syso
/*.exe
/versioninfo.json


================================================
FILE: CHANGELOG.md
================================================
# Changelog

## 11.62.7-64 (2025/09/14)

* Postman 11.62.7
* Portapps 3.17.0

## 11.52.5-63 (2025/07/06)

* Postman 11.52.5

## 11.39.5-62 (2025/04/06)

* Postman 11.39.5
* Portapps 3.16.0

## 11.19.0-61 (2024/11/10)

* Postman 11.19.0
* Portapps 3.14.1

## 11.6.1-60 (2024/08/03)

* Postman 11.6.1
* Portapps 3.11.0

## 10.24.0-59 (2024/03/10)

* Postman 10.24.0
* Portapps 3.10.0

## 10.21.0-58 (2023/12/24)

* Postman 10.21.0
* Portapps 3.9.0

## 10.15.0-57 (2023/07/08)

* Postman 10.15.0
* Portapps 3.8.0

## 10.8.0-56 (2023/01/16)

* Postman 10.8.0
* Portapps 3.7.0

## 10.0.1-55 (2022/10/04)

* Postman 10.0.1

## 9.27.0-54 (2022/08/13)

* Postman 9.27.0

## 9.22.2-53 (2022/07/15)

* Postman 9.22.2
* Portapps 3.6.0

## 9.8.2-52 (2022/01/08)

* Postman 9.8.2
* Portapps 3.4.0

## 9.1.2-51 (2021/10/27)

* Postman 9.1.2
* Portapps 3.3.1

## 8.5.1-50 (2021/06/03)

* Postman 8.5.1

## 8.2.2-49 (2021/04/14)

* Postman 8.2.2
* Portapps 3.3.0
* No more win32 release

## 8.0.5-48 (2021/02/15)

* Postman 8.0.5
* Portapps 3.2.1

## 7.36.0-47 (2020/12/03)

* Postman 7.36.0
* Portapps 3.0.0

## 7.34.0-46 (2020/11/16)

* Postman 7.34.0

## 7.33.1-45 (2020/09/24)

* Postman 7.33.1

## 7.31.1-44 (2020/09/04)

* Postman 7.31.1

## 7.30.1-43 (2020/08/24)

* Postman 7.30.1
* Portapps 2.6.0

## 7.29.0-42 (2020/08/03)

* Postman 7.29.0
* Portapps 2.5.0

## 7.28.0-41 (2020/07/15)

* Postman 7.28.0

## 7.27.0-40 (2020/07/04)

* Postman 7.27.0

## 7.26.1-39 (2020/06/21)

* Postman 7.26.1

## 7.25.3-38 (2020/06/07)

* Postman 7.25.3
* Portapps 2.4.4

## 7.24.0-37 (2020/05/19)

* Postman 7.24.0
* Portapps 2.3.0

## 7.23.0-36 (2020/05/03)

* Postman 7.23.0
* Portapps 2.2.4

## 7.22.0-35 (2020/04/13)

* Postman 7.22.1
* Portapps 2.1.2

## 7.21.1-34 (2020/03/25)

* Postman 7.21.1

## 7.20.1-33 (2020/03/18)

* Postman 7.20.1

## 7.19.1-32 (2020/03/02)

* Postman 7.19.1

## 7.18.1-31 (2020/02/20)

* Postman 7.18.1

## 7.18.0-30 (2020/02/12)

* Postman 7.18.0

## 7.17.0-29 (2020/02/03)

* Postman 7.17.0

## 7.16.1-28 (2020/01/23)

* Postman 7.16.1

## 7.14.0-27 (2019/12/18)

* Postman 7.14.0
* Add `cleanup` config
* Portapps 1.31.0

## 7.13.0-26 (2019/12/05)

* Postman 7.13.0

## 7.12.0-25 (2019/11/25)

* Postman 7.12.0

## 7.11.0-24 (2019/11/09)

* Postman 7.11.0
* Portapps 1.30.1

## 7.10.0-23 (2019/10/24)

* Postman 7.10.0

## 7.9.0-22 (2019/10/11)

* Postman 7.9.0
* Portapps 1.28.0

## 7.8.0-21 (2019/09/27)

* Postman 7.8.0

## 7.7.3-20 (2019/09/23)

* Postman 7.7.3

## 7.7.2-19 (2019/09/18)

* Postman 7.7.2
* Portapps 1.26.1

## 7.6.0-18 (2019/08/29)

* Postman 7.6.0
* Portapps 1.26.0

## 7.5.0-17 (2019/08/12)

* Postman 7.5.0

## 7.3.6-16 (2019/08/06)

* Postman 7.3.6
* Portapps 1.25.0

## 7.3.5-15 (2019/08/03)

* Postman 7.3.5

## 7.3.4-14 (2019/07/22)

* Postman 7.3.4

## 7.2.2-13 (2019/06/20)

* Postman 7.2.2

## 7.2.1-12 (2019/06/18)

* Postman 7.2.1

## 7.2.0-11 (2019/06/13)

* Postman 7.2.0

## 7.1.1-10 (2019/05/20)

* Postman 7.1.1

## 7.1.0-9 (2019/05/16)

* Postman 7.1.0
* Portapps 1.24.1
* Postman allows Portapps to use their logo (Issue #7)

## 7.0.9-8 (2019/05/14)

* Trademark Policy violation report (Issue #6)
* Portapps 1.23.0

## 7.0.9-7 (2019/04/22)

* Postman 7.0.9
* Portapps 1.22.1

## 7.0.8-6 (2019/04/12)

* Postman 7.0.8

## 7.0.7-5 (2019/03/29)

* Postman 7.0.7
* Portapps 1.21.0

## 7.0.6-4 (2019/03/14)

* Postman 7.0.6

## 7.0.5-3 (2019/03/11)

* Postman 7.0.5
* Portapps 1.20.2

## 6.7.4-2 (2019/02/26)

* Postman 6.7.4

## 6.7.3-1 (2019/02/05)

* Postman 6.7.3
* Switch to TravisCI

## 6.7.2-14 (2019/01/25)

* Postman 6.7.2

## 6.7.1-13 (2019/01/10)

* Postman 6.7.1

## 6.6.1-12 (2018/12/11)

* Postman 6.6.1

## 6.5.3-11 (2018/11/27)

* Postman 6.5.3

## 6.5.2-10 (2018/11/09)

* Postman 6.5.2

## 6.4.4-9 (2018/10/26)

* Postman 6.4.4

## 6.3.0-8 (2018/09/26)

* Postman 6.3.0
* Go 1.11
* Use [go mod](https://golang.org/cmd/go/#hdr-Module_maintenance) instead of `dep`

## 6.2.4-7 (2018/08/11)

* Postman 6.2.4

## 6.2.3-6 (2018/08/03)

* Postman 6.2.3

## 6.1.4-5 (2018/07/05)

* Postman 6.1.4

## 6.1.3-4 (2018/05/26)

* Postman 6.1.3

## 6.1.2-3 (2018/05/23)

* Postman 6.1.2

## 6.0.10-2 (2018/04/20)

* Postman 6.0.10

## 6.0.9-1 (2018/03/07)

* Initial version based on Postman 6.0.9


================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2018-2026 CrazyMax

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: README.md
================================================
<p align="center"><a href="https://portapps.io/app/postman-portable/" target="_blank"><img width="100" src="https://github.com/portapps/postman-portable/blob/master/res/papp.png"></a></p>

<p align="center">
  <a href="https://portapps.io/app/postman-portable/#download"><img src="https://img.shields.io/github/release/portapps/postman-portable.svg?style=flat-square" alt="GitHub release"></a>
  <a href="https://portapps.io/app/postman-portable/#download"><img src="https://img.shields.io/github/downloads/portapps/postman-portable/total.svg?style=flat-square" alt="Total downloads"></a>
  <a href="https://github.com/portapps/postman-portable/actions?workflow=build"><img src="https://img.shields.io/github/actions/workflow/status/portapps/postman-portable/build.yml?label=build&logo=github&style=flat-square" alt="Build Status"></a>
  <a href="https://goreportcard.com/report/github.com/portapps/postman-portable"><img src="https://goreportcard.com/badge/github.com/portapps/postman-portable?style=flat-square" alt="Go Report"></a>
  <br /><a href="https://github.com/sponsors/crazy-max"><img src="https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github&style=flat-square" alt="Become a sponsor"></a>
  <a href="https://www.paypal.me/crazyws"><img src="https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal&style=flat-square" alt="Donate Paypal"></a>
</p>

## Notice of Non-Affiliation and Disclaimer

Portapps is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Postman™, or any of its subsidiaries or its affiliates.

The official Postman™ website can be found at https://www.getpostman.com/.

The name Postman™ as well as related names, marks, emblems and images are registered trademarks of their respective owners.

## About

Postman™ portable app made with 🚀 [Portapps](https://portapps.io).<br />
Documentation and downloads can be found on https://portapps.io/app/postman-portable/

## Contributing

Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. If
you want to open a pull request, please read the [contributing guidelines](https://portapps.io/doc/contribute/).

You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) or by
making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely!

Thanks again for your support, it is much appreciated! :pray:

## License

MIT. See `LICENSE` for more details.<br />
Rocket icon credit to [Squid Ink](http://thesquid.ink).


================================================
FILE: build.properties
================================================
# Portapps
core.dir = ../portapps

# App
app = postman
app.name = Postman
app.type = electron
app.version = 11.62.7
app.release = 64
app.homepage = https://www.getpostman.com

# Portable app
papp.id = ${app}-portable
papp.guid = {CA243954-836D-4029-85F0-D1B8E983B539}
papp.name = ${app.name} Portable
papp.desc = ${app.name} portable on Windows by Portapps
papp.url = https://github.com/portapps/${papp.id}
papp.folder = app

# Electron
electron.executionstub = Postman_ExecutionStub.exe
electron.libfolder = lib/net45
electron.enableautoupdate = false

# Official artifacts
atf.id = Postman
atf.win64.filename = PostmanSetup-win64
atf.win64.ext = .exe
atf.win64.url = https://dl.pstmn.io/download/version/${app.version}/windows64
atf.win64.assertextract = RELEASES


================================================
FILE: build.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project name="postman" basedir=".">

  <dirname property="app.basedir" file="${ant.file.postman}"/>
  <property name="build.properties" value="${app.basedir}/build.properties"/>
  <property file="${build.properties}"/>

  <!-- Load Portapps core build -->
  <property name="core.basedir" location="${app.basedir}\${core.dir}"/>
  <fail unless="core.basedir" message="Core directory '${core.basedir}' not found in ${core.basedir}"/>
  <echo message="Core found in ${core.basedir}" level="debug"/>

  <!-- Import build-app.xml  -->
  <import file="${core.basedir}\.build\build-app.xml"/>

  <!-- Targets -->
  <target name="release" depends="release.app" description="Release"/>

</project>


================================================
FILE: go.mod
================================================
module github.com/portapps/postman-portable

go 1.26.0

require github.com/portapps/portapps/v3 v3.18.0

require (
	github.com/akavel/rsrc v0.10.2 // indirect
	github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
	github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d // indirect
	github.com/josephspurrier/goversioninfo v1.5.0 // indirect
	github.com/mattn/go-colorable v0.1.14 // indirect
	github.com/mattn/go-isatty v0.0.20 // indirect
	github.com/pkg/errors v0.9.1 // indirect
	github.com/rs/zerolog v1.35.0 // indirect
	go.yaml.in/yaml/v3 v3.0.4 // indirect
	golang.org/x/sys v0.42.0 // indirect
)

tool github.com/josephspurrier/goversioninfo/cmd/goversioninfo


================================================
FILE: go.sum
================================================
github.com/akavel/rsrc v0.10.2 h1:Zxm8V5eI1hW4gGaYsJQUhxpjkENuG91ki8B4zCrvEsw=
github.com/akavel/rsrc v0.10.2/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro=
github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d h1:OGuVAVny/97zsQ5BWg0mOjzTBBD9zR+Lug1co144+rU=
github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d/go.mod h1:S1q6q+21PRGd0WRX+fHjQ+TOe3CgpSv7zgCWnZcbxCs=
github.com/josephspurrier/goversioninfo v1.5.0 h1:9TJtORoyf4YMoWSOo/cXFN9A/lB3PniJ91OxIH6e7Zg=
github.com/josephspurrier/goversioninfo v1.5.0/go.mod h1:6MoTvFZ6GKJkzcdLnU5T/RGYUbHQbKpYeNP0AgQLd2o=
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/portapps/portapps/v3 v3.18.0 h1:VbNaiRCjyPzgIZ84AZyeoTASYaCGo6h5ytps45d1oxY=
github.com/portapps/portapps/v3 v3.18.0/go.mod h1:KNABc9H8B3HWZirEAxjN1qXMXlkKyqzdOrO3UgPc0I0=
github.com/rs/zerolog v1.35.0 h1:VD0ykx7HMiMJytqINBsKcbLS+BJ4WYjz+05us+LRTdI=
github.com/rs/zerolog v1.35.0/go.mod h1:EjML9kdfa/RMA7h/6z6pYmq1ykOuA8/mjWaEvGI+jcw=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=


================================================
FILE: main.go
================================================
//go:generate go install -v github.com/josephspurrier/goversioninfo/cmd/goversioninfo
package main

import (
	"os"
	"path"
	"path/filepath"

	"github.com/portapps/portapps/v3"
	"github.com/portapps/portapps/v3/pkg/log"
	"github.com/portapps/portapps/v3/pkg/utl"
)

type config struct {
	Cleanup bool `yaml:"cleanup" mapstructure:"cleanup"`
}

var (
	app *portapps.App
	cfg *config
)

func init() {
	var err error

	// Default config
	cfg = &config{
		Cleanup: false,
	}

	// Init app
	if app, err = portapps.NewWithCfg("postman-portable", "Postman", cfg); err != nil {
		log.Fatal().Err(err).Msg("Cannot initialize application. See log file for more info.")
	}
}

func main() {
	utl.CreateFolder(app.DataPath)
	electronAppPath := app.ElectronAppPath()

	app.Process = filepath.Join(electronAppPath, "Postman.exe")
	app.WorkingDir = electronAppPath
	app.Args = []string{
		"--user-data-dir=" + app.DataPath,
	}

	// Cleanup on exit
	if cfg.Cleanup {
		defer func() {
			utl.Cleanup([]string{
				path.Join(os.Getenv("APPDATA"), "Postman"),
			})
		}()
	}

	defer app.Close()
	app.Launch(os.Args[1:])
}


================================================
FILE: main_386.go
================================================
package main

//go:generate goversioninfo -icon=res/papp.ico -manifest=res/papp.manifest


================================================
FILE: main_amd64.go
================================================
package main

//go:generate goversioninfo -64 -icon=res/papp.ico -manifest=res/papp.manifest


================================================
FILE: main_arm.go
================================================
package main

//go:generate goversioninfo -arm -icon=res/papp.ico -manifest=res/papp.manifest


================================================
FILE: main_arm64.go
================================================
package main

//go:generate goversioninfo -arm -64 -icon=res/papp.ico -manifest=res/papp.manifest


================================================
FILE: res/papp.manifest
================================================
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!--This Id value indicates the application supports Windows 7 functionality-->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <!--This Id value indicates the application supports Windows 8 functionality-->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
      <!--This Id value indicates the application supports Windows 8.1 functionality-->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <!--This Id value indicates the application supports Windows 10 functionality-->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
    </application>
  </compatibility>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>


================================================
FILE: res/run.iss
================================================
[Run]
Filename: {app}\{#pappId}.exe; Description: Run {#pappName}; Flags: nowait postinstall skipifsilent unchecked
Download .txt
gitextract_9wbamg0n/

├── .editorconfig
├── .github/
│   ├── CODEOWNERS
│   ├── dependabot.yml
│   ├── labels.yml
│   ├── workflows/
│   │   ├── build.yml
│   │   ├── labels.yml
│   │   ├── released.yml
│   │   └── zizmor.yml
│   └── zizmor.yml
├── .gitignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── build.properties
├── build.xml
├── go.mod
├── go.sum
├── main.go
├── main_386.go
├── main_amd64.go
├── main_arm.go
├── main_arm64.go
└── res/
    ├── papp.manifest
    └── run.iss
Download .txt
SYMBOL INDEX (3 symbols across 1 files)

FILE: main.go
  type config (line 14) | type config struct
  function init (line 23) | func init() {
  function main (line 37) | func main() {
Condensed preview — 24 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (23K chars).
[
  {
    "path": ".editorconfig",
    "chars": 339,
    "preview": "# This file is for unifying the coding style for different editors and IDEs.\n# More information at http://editorconfig.o"
  },
  {
    "path": ".github/CODEOWNERS",
    "chars": 13,
    "preview": "*\t@crazy-max\n"
  },
  {
    "path": ".github/dependabot.yml",
    "chars": 413,
    "preview": "version: 2\nupdates:\n  - package-ecosystem: \"gomod\"\n    directory: \"/\"\n    schedule:\n      interval: \"daily\"\n    cooldown"
  },
  {
    "path": ".github/labels.yml",
    "chars": 1706,
    "preview": "## more info https://github.com/crazy-max/ghaction-github-labeler\n- # bot\n  name: \":robot: bot\"\n  color: \"69cde9\"\n  desc"
  },
  {
    "path": ".github/workflows/build.yml",
    "chars": 458,
    "preview": "name: build\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  c"
  },
  {
    "path": ".github/workflows/labels.yml",
    "chars": 844,
    "preview": "name: labels\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  "
  },
  {
    "path": ".github/workflows/released.yml",
    "chars": 507,
    "preview": "name: released\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n"
  },
  {
    "path": ".github/workflows/zizmor.yml",
    "chars": 514,
    "preview": "name: zizmor\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\npermissions:\n  "
  },
  {
    "path": ".github/zizmor.yml",
    "chars": 88,
    "preview": "# https://docs.zizmor.sh/configuration/\nrules:\n  secrets-outside-env:\n    disable: true\n"
  },
  {
    "path": ".gitignore",
    "chars": 84,
    "preview": "# Intellij\n/.idea\n/*.iml\n\n# App\n/.dev\n/bin\n/vendor\n/*.syso\n/*.exe\n/versioninfo.json\n"
  },
  {
    "path": "CHANGELOG.md",
    "chars": 4253,
    "preview": "# Changelog\n\n## 11.62.7-64 (2025/09/14)\n\n* Postman 11.62.7\n* Portapps 3.17.0\n\n## 11.52.5-63 (2025/07/06)\n\n* Postman 11.5"
  },
  {
    "path": "LICENSE",
    "chars": 1070,
    "preview": "MIT License\n\nCopyright (c) 2018-2026 CrazyMax\n\nPermission is hereby granted, free of charge, to any person obtaining a c"
  },
  {
    "path": "README.md",
    "chars": 2609,
    "preview": "<p align=\"center\"><a href=\"https://portapps.io/app/postman-portable/\" target=\"_blank\"><img width=\"100\" src=\"https://gith"
  },
  {
    "path": "build.properties",
    "chars": 766,
    "preview": "# Portapps\ncore.dir = ../portapps\n\n# App\napp = postman\napp.name = Postman\napp.type = electron\napp.version = 11.62.7\napp."
  },
  {
    "path": "build.xml",
    "chars": 729,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project name=\"postman\" basedir=\".\">\n\n  <dirname property=\"app.basedir\" file=\"${a"
  },
  {
    "path": "go.mod",
    "chars": 682,
    "preview": "module github.com/portapps/postman-portable\n\ngo 1.26.0\n\nrequire github.com/portapps/portapps/v3 v3.18.0\n\nrequire (\n\tgith"
  },
  {
    "path": "go.sum",
    "chars": 2917,
    "preview": "github.com/akavel/rsrc v0.10.2 h1:Zxm8V5eI1hW4gGaYsJQUhxpjkENuG91ki8B4zCrvEsw=\ngithub.com/akavel/rsrc v0.10.2/go.mod h1:"
  },
  {
    "path": "main.go",
    "chars": 1101,
    "preview": "//go:generate go install -v github.com/josephspurrier/goversioninfo/cmd/goversioninfo\npackage main\n\nimport (\n\t\"os\"\n\t\"pat"
  },
  {
    "path": "main_386.go",
    "chars": 89,
    "preview": "package main\n\n//go:generate goversioninfo -icon=res/papp.ico -manifest=res/papp.manifest\n"
  },
  {
    "path": "main_amd64.go",
    "chars": 93,
    "preview": "package main\n\n//go:generate goversioninfo -64 -icon=res/papp.ico -manifest=res/papp.manifest\n"
  },
  {
    "path": "main_arm.go",
    "chars": 94,
    "preview": "package main\n\n//go:generate goversioninfo -arm -icon=res/papp.ico -manifest=res/papp.manifest\n"
  },
  {
    "path": "main_arm64.go",
    "chars": 98,
    "preview": "package main\n\n//go:generate goversioninfo -arm -64 -icon=res/papp.ico -manifest=res/papp.manifest\n"
  },
  {
    "path": "res/papp.manifest",
    "chars": 1102,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersi"
  },
  {
    "path": "res/run.iss",
    "chars": 116,
    "preview": "[Run]\nFilename: {app}\\{#pappId}.exe; Description: Run {#pappName}; Flags: nowait postinstall skipifsilent unchecked\n"
  }
]

About this extraction

This page contains the full source code of the portapps/postman-portable GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 24 files (20.2 KB), approximately 8.5k tokens, and a symbol index with 3 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!