├── .editorconfig ├── .github ├── CODEOWNERS ├── dependabot.yml ├── labels.yml └── workflows │ ├── build.yml │ ├── labels.yml │ └── released.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── build.properties ├── build.xml ├── go.mod ├── go.sum ├── main.go ├── res ├── app.ico ├── papp.ico ├── papp.manifest ├── papp.png ├── run.iss ├── setup-mini.bmp └── vscodium.cmd └── tools └── tools.go /.editorconfig: -------------------------------------------------------------------------------- 1 | # This file is for unifying the coding style for different editors and IDEs. 2 | # More information at http://editorconfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | charset = utf-8 8 | indent_size = 2 9 | indent_style = space 10 | end_of_line = lf 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | 14 | [*.md] 15 | trim_trailing_whitespace = false 16 | 17 | [*.go] 18 | indent_style = tab 19 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @crazy-max 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "gomod" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | time: "08:00" 8 | timezone: "Europe/Paris" 9 | labels: 10 | - ":game_die: dependencies" 11 | - ":robot: bot" 12 | - package-ecosystem: "github-actions" 13 | directory: "/" 14 | schedule: 15 | interval: "daily" 16 | time: "08:00" 17 | timezone: "Europe/Paris" 18 | labels: 19 | - ":game_die: dependencies" 20 | - ":robot: bot" 21 | -------------------------------------------------------------------------------- /.github/labels.yml: -------------------------------------------------------------------------------- 1 | ## more info https://github.com/crazy-max/ghaction-github-labeler 2 | - # bot 3 | name: ":robot: bot" 4 | color: "69cde9" 5 | description: "" 6 | - # broken 7 | name: ":zap: broken" 8 | color: "a3090e" 9 | description: "" 10 | - # bug 11 | name: ":bug: bug" 12 | color: "b60205" 13 | description: "" 14 | - # dependencies 15 | name: ":game_die: dependencies" 16 | color: "0366d6" 17 | description: "" 18 | - # documentation 19 | name: ":memo: documentation" 20 | color: "c5def5" 21 | description: "" 22 | - # duplicate 23 | name: ":busts_in_silhouette: duplicate" 24 | color: "cccccc" 25 | description: "" 26 | - # enhancement 27 | name: ":sparkles: enhancement" 28 | color: "0054ca" 29 | description: "" 30 | - # feature request 31 | name: ":bulb: feature request" 32 | color: "0e8a16" 33 | description: "" 34 | - # feedback 35 | name: ":mega: feedback" 36 | color: "03a9f4" 37 | description: "" 38 | - # future maybe 39 | name: ":rocket: future maybe" 40 | color: "fef2c0" 41 | description: "" 42 | - # good first issue 43 | name: ":hatching_chick: good first issue" 44 | color: "7057ff" 45 | description: "" 46 | - # help wanted 47 | name: ":pray: help wanted" 48 | color: "4caf50" 49 | description: "" 50 | - # hold 51 | name: ":hand: hold" 52 | color: "24292f" 53 | description: "" 54 | - # invalid 55 | name: ":no_entry_sign: invalid" 56 | color: "e6e6e6" 57 | description: "" 58 | - # maybe bug 59 | name: ":interrobang: maybe bug" 60 | color: "ff5722" 61 | description: "" 62 | - # needs more info 63 | name: ":thinking: needs more info" 64 | color: "795548" 65 | description: "" 66 | - # question 67 | name: ":question: question" 68 | color: "3f51b5" 69 | description: "" 70 | - # trademark violation 71 | name: ":construction: trademark violation" 72 | color: "cfe524" 73 | description: "" 74 | - # upstream 75 | name: ":eyes: upstream" 76 | color: "fbca04" 77 | description: "" 78 | - # wontfix 79 | name: ":coffin: wontfix" 80 | color: "ffffff" 81 | description: "" 82 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | 3 | on: 4 | workflow_dispatch: 5 | push: 6 | tags: 7 | - '*' 8 | pull_request: 9 | 10 | jobs: 11 | build: 12 | uses: portapps/.github/.github/workflows/app-build.yml@master 13 | -------------------------------------------------------------------------------- /.github/workflows/labels.yml: -------------------------------------------------------------------------------- 1 | name: labels 2 | 3 | on: 4 | push: 5 | branches: 6 | - 'master' 7 | paths: 8 | - '.github/labels.yml' 9 | - '.github/workflows/labels.yml' 10 | 11 | jobs: 12 | labeler: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - 16 | name: Checkout 17 | uses: actions/checkout@v4 18 | - 19 | name: Run Labeler 20 | uses: crazy-max/ghaction-github-labeler@v5 21 | -------------------------------------------------------------------------------- /.github/workflows/released.yml: -------------------------------------------------------------------------------- 1 | name: released 2 | 3 | on: 4 | release: 5 | types: [published] 6 | 7 | jobs: 8 | virustotal: 9 | uses: portapps/.github/.github/workflows/app-virustotal.yml@master 10 | secrets: 11 | vt_api_key: ${{ secrets.VT_API_KEY }} 12 | vt_monitor_api_key: ${{ secrets.VT_MONITOR_API_KEY }} 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Intellij 2 | /.idea 3 | /*.iml 4 | 5 | # App 6 | /.dev 7 | /bin 8 | /vendor 9 | /*.syso 10 | /*.exe 11 | /versioninfo.json 12 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 1.91.1-58 (2024/08/03) 4 | 5 | * VSCodium 1.91.1 6 | * Portapps 3.11.0 7 | 8 | ## 1.85.1-57 (2023/12/26) 9 | 10 | * VSCodium 1.85.1 11 | * Portapps 3.9.0 12 | 13 | ## 1.73.1-56 (2022/11/20) 14 | 15 | * VSCodium 1.73.1 16 | * Portapps 3.6.0 17 | 18 | ## 1.67.2-55 (2022/05/22) 19 | 20 | * VSCodium 1.67.2 21 | * Portapps 3.5.0 22 | 23 | ## 1.61.2-54 (2021/10/27) 24 | 25 | * VSCodium 1.61.2 26 | * Portapps 3.3.1 27 | 28 | ## 1.58.0-53 (2021/07/11) 29 | 30 | * VSCodium 1.58.0 31 | 32 | ## 1.55.2-52 (2021/04/15) 33 | 34 | * VSCodium 1.55.2 35 | * Portapps 3.3.0 36 | * No more win32 release 37 | 38 | ## 1.53.2-51 (2021/02/15) 39 | 40 | * VSCodium 1.53.2 41 | * Portapps 3.2.1 42 | 43 | ## 1.52.0-50 (2020/12/13) 44 | 45 | * VSCodium 1.52.0 46 | * Disable vscode logs if global log disable enabled 47 | * Portapps 3.1.0 48 | 49 | ## 1.51.1-49 (2020/11/13) 50 | 51 | * VSCodium 1.51.1 52 | 53 | ## 1.49.3-48 (2020/10/05) 54 | 55 | * VSCodium 1.49.3 56 | 57 | ## 1.49.0-47 (2020/09/24) 58 | 59 | * VSCodium 1.49.0 60 | 61 | ## 1.48.2-46 (2020/08/27) 62 | 63 | * VSCodium 1.48.2 64 | * Portapps 2.6.0 65 | 66 | ## 1.47.3-45 (2020/08/11) 67 | 68 | * VSCodium 1.47.3 69 | * Portapps 2.5.0 70 | 71 | ## 1.47.2-44 (2020/07/23) 72 | 73 | * VSCodium 1.47.2 74 | 75 | ## 1.46.1-43 (2020/07/01) 76 | 77 | * VSCodium 1.46.1 78 | 79 | ## 1.45.1-42 (2020/06/02) 80 | 81 | * VSCodium 1.45.1 82 | * Portapps 2.4.4 83 | 84 | ## 1.45.0-41 (2020/05/12) 85 | 86 | * VSCodium 1.45.0 87 | * Portapps 2.2.4 88 | 89 | ## 1.44.2-40 (2020/04/25) 90 | 91 | * VSCodium 1.44.2 92 | * Portapps 2.2.0 93 | 94 | ## 1.44.0-39 (2020/04/13) 95 | 96 | * VSCodium 1.44.0 97 | * Portapps 2.1.2 98 | 99 | ## 1.43.2-38 (2020/03/29) 100 | 101 | * VSCodium 1.43.2 102 | 103 | ## 1.43.0-37 (2020/03/13) 104 | 105 | * VSCodium 1.43.0 106 | 107 | ## 1.42.1-36 (2020/02/18) 108 | 109 | * VSCodium 1.42.1 110 | 111 | ## 1.42.0-35 (2020/02/09) 112 | 113 | * VSCodium 1.42.0 114 | 115 | ## 1.41.1-34 (2019/12/23) 116 | 117 | * VSCodium 1.41.1 118 | 119 | ## 1.41.0-33 (2019/12/15) 120 | 121 | * VSCodium 1.41.0 122 | * Add cleanup config 123 | * Portapps 1.31.0 124 | 125 | ## 1.40.2-32 (2019/11/28) 126 | 127 | * VSCodium 1.40.2 128 | 129 | ## 1.40.1-31 (2019/11/17) 130 | 131 | * VSCodium 1.40.1 132 | 133 | ## 1.40.0-30 (2019/11/10) 134 | 135 | * VSCodium 1.40.0 136 | * Portapps 1.30.1 137 | 138 | ## 1.39.2-29 (2019/10/21) 139 | 140 | * VSCodium 1.39.2 141 | 142 | ## 1.39.1-28 (2019/10/15) 143 | 144 | * VSCodium 1.39.1 145 | * Portapps 1.28.0 146 | 147 | ## 1.38.1-27 (2019/09/13) 148 | 149 | * VSCodium 1.38.1 150 | 151 | ## 1.38.0-26 (2019/09/08) 152 | 153 | * VSCodium 1.38.0 154 | * Portapps 1.26.1 155 | 156 | ## 1.37.1-25 (2019/08/16) 157 | 158 | * VSCodium 1.37.1 159 | 160 | ## 1.37.0-24 (2019/08/09) 161 | 162 | * VSCodium 1.37.0 163 | * Portapps 1.25.0 164 | 165 | ## 1.36.1-23 (2019/07/11) 166 | 167 | * VSCodium 1.36.1 168 | 169 | ## 1.36.0-22 (2019/07/04) 170 | 171 | * VSCodium 1.36.0 172 | 173 | ## 1.35.1-21 (2019/06/16) 174 | 175 | * VSCodium 1.35.1 176 | 177 | ## 1.35.0-20 (2019/06/07) 178 | 179 | * VSCodium 1.35.0 180 | 181 | ## 1.34.0-19 (2019/05/17) 182 | 183 | * VSCodium 1.34.0 184 | * Portapps 1.24.1 185 | 186 | ## 1.33.1-18 (2019/04/17) 187 | 188 | * Initial version based on VSCodium 1.33.1 189 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019-2025 CrazyMax 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | GitHub release 5 | Total downloads 6 | Build Status 7 | Go Report 8 |
Become a sponsor 9 | Donate Paypal 10 |

11 | 12 | ## Notice of Non-Affiliation and Disclaimer 13 | 14 | Portapps is not affiliated, associated, authorized, endorsed by, or in any way officially connected with VSCodium™, or any of its subsidiaries or its affiliates. 15 | 16 | The official VSCodium™ website can be found at https://vscodium.com/. 17 | 18 | The name VSCodium™ as well as related names, marks, emblems and images are registered trademarks of their respective owners. 19 | 20 | ## About 21 | 22 | VSCodium™ portable app made with 🚀 [Portapps](https://portapps.io).
23 | Documentation and downloads can be found on https://portapps.io/app/vscodium-portable/ 24 | 25 | ## Contributing 26 | 27 | Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. If 28 | you want to open a pull request, please read the [contributing guidelines](https://portapps.io/doc/contribute/). 29 | 30 | You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) or by 31 | making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! 32 | 33 | Thanks again for your support, it is much appreciated! :pray: 34 | 35 | ## License 36 | 37 | MIT. See `LICENSE` for more details.
38 | Rocket icon credit to [Squid Ink](http://thesquid.ink). 39 | -------------------------------------------------------------------------------- /build.properties: -------------------------------------------------------------------------------- 1 | # Portapps 2 | core.dir = ../portapps 3 | 4 | # App 5 | app = vscodium 6 | app.name = VSCodium 7 | app.type = archive 8 | app.version = 1.91.1 9 | app.release = 58 10 | app.homepage = https://vscodium.com/ 11 | 12 | # Portable app 13 | papp.id = ${app}-portable 14 | papp.guid = {6C7629A7-87D9-40F9-B32E-24F2C3E6E67A} 15 | papp.name = ${app.name} Portable 16 | papp.desc = ${app.name} portable on Windows by Portapps 17 | papp.url = https://github.com/portapps/${papp.id} 18 | papp.folder = app 19 | 20 | # Official artifact 21 | atf.id = VSCodium 22 | atf.win64.filename = ${atf.id}-win64-${app.version} 23 | atf.win64.ext = .zip 24 | atf.win64.url = https://github.com/VSCodium/vscodium/releases/download/${app.version}.24193/VSCodium-win32-x64-${app.version}.24193.zip 25 | atf.win64.assertextract = VSCodium.exe 26 | -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/portapps/vscodium-portable 2 | 3 | go 1.24.0 4 | 5 | require github.com/portapps/portapps/v3 v3.16.0 6 | 7 | require ( 8 | github.com/akavel/rsrc v0.10.2 // indirect 9 | github.com/go-viper/mapstructure/v2 v2.2.1 // indirect 10 | github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d // indirect 11 | github.com/josephspurrier/goversioninfo v1.5.0 // indirect 12 | github.com/mattn/go-colorable v0.1.13 // indirect 13 | github.com/mattn/go-isatty v0.0.19 // indirect 14 | github.com/pkg/errors v0.9.1 // indirect 15 | github.com/rs/zerolog v1.34.0 // indirect 16 | golang.org/x/sys v0.32.0 // indirect 17 | gopkg.in/yaml.v3 v3.0.1 // indirect 18 | ) 19 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | github.com/akavel/rsrc v0.10.2 h1:Zxm8V5eI1hW4gGaYsJQUhxpjkENuG91ki8B4zCrvEsw= 2 | github.com/akavel/rsrc v0.10.2/go.mod h1:uLoCtb9J+EyAqh+26kdrTgmzRBFPGOolLWKpdxkKq+c= 3 | github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= 4 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 5 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 6 | github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss= 7 | github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= 8 | github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= 9 | github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d h1:OGuVAVny/97zsQ5BWg0mOjzTBBD9zR+Lug1co144+rU= 10 | github.com/ilya1st/rotatewriter v0.0.0-20171126183947-3df0c1a3ed6d/go.mod h1:S1q6q+21PRGd0WRX+fHjQ+TOe3CgpSv7zgCWnZcbxCs= 11 | github.com/josephspurrier/goversioninfo v1.5.0 h1:9TJtORoyf4YMoWSOo/cXFN9A/lB3PniJ91OxIH6e7Zg= 12 | github.com/josephspurrier/goversioninfo v1.5.0/go.mod h1:6MoTvFZ6GKJkzcdLnU5T/RGYUbHQbKpYeNP0AgQLd2o= 13 | github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= 14 | github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= 15 | github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= 16 | github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= 17 | github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= 18 | github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= 19 | github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= 20 | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= 21 | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= 22 | github.com/portapps/portapps/v3 v3.16.0 h1:wQyDDoYAh7YTTaIwo48K8lbegODZuasSq4S7XIppe6s= 23 | github.com/portapps/portapps/v3 v3.16.0/go.mod h1:4ue65AQ4rAe0iiOr3tTvmmNyDYIB9R6JywBBEPrJKZU= 24 | github.com/rs/xid v1.6.0/go.mod h1:7XoLgs4eV+QndskICGsho+ADou8ySMSjJKDIan90Nz0= 25 | github.com/rs/zerolog v1.34.0 h1:k43nTLIwcTVQAncfCw4KZ2VY6ukYoZaBPNOE8txlOeY= 26 | github.com/rs/zerolog v1.34.0/go.mod h1:bJsvje4Z08ROH4Nhs5iH600c3IkWhwp44iRc54W6wYQ= 27 | github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= 28 | github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= 29 | golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 30 | golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 31 | golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 32 | golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20= 33 | golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= 34 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= 35 | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= 36 | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= 37 | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= 38 | -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | //go:generate go install -v github.com/josephspurrier/goversioninfo/cmd/goversioninfo 2 | //go:generate goversioninfo -icon=res/papp.ico -manifest=res/papp.manifest 3 | package main 4 | 5 | import ( 6 | "os" 7 | "path" 8 | 9 | "github.com/portapps/portapps/v3" 10 | "github.com/portapps/portapps/v3/pkg/log" 11 | "github.com/portapps/portapps/v3/pkg/utl" 12 | ) 13 | 14 | type config struct { 15 | Cleanup bool `yaml:"cleanup" mapstructure:"cleanup"` 16 | } 17 | 18 | var ( 19 | app *portapps.App 20 | cfg *config 21 | ) 22 | 23 | func init() { 24 | var err error 25 | 26 | // Default config 27 | cfg = &config{ 28 | Cleanup: false, 29 | } 30 | 31 | // Init app 32 | if app, err = portapps.NewWithCfg("vscodium-portable", "VSCodium", cfg); err != nil { 33 | log.Fatal().Err(err).Msg("Cannot initialize application. See log file for more info.") 34 | } 35 | } 36 | 37 | func main() { 38 | utl.CreateFolder(app.DataPath) 39 | app.Process = utl.PathJoin(app.AppPath, "VSCodium.exe") 40 | app.Args = []string{ 41 | "--log debug", 42 | } 43 | 44 | // Cleanup on exit 45 | if cfg.Cleanup { 46 | defer func() { 47 | utl.Cleanup([]string{ 48 | path.Join(os.Getenv("APPDATA"), "VSCodium"), 49 | }) 50 | }() 51 | } 52 | 53 | os.Setenv("VSCODE_APPDATA", utl.PathJoin(app.DataPath, "appdata")) 54 | if !app.Config().Common.DisableLog { 55 | os.Setenv("VSCODE_LOGS", utl.PathJoin(app.DataPath, "logs")) 56 | } 57 | os.Setenv("VSCODE_EXTENSIONS", utl.PathJoin(app.DataPath, "extensions")) 58 | 59 | defer app.Close() 60 | app.Launch(os.Args[1:]) 61 | } 62 | -------------------------------------------------------------------------------- /res/app.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/portapps/vscodium-portable/0e11ca9d57c8d2533e518a02156f502b179e57b0/res/app.ico -------------------------------------------------------------------------------- /res/papp.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/portapps/vscodium-portable/0e11ca9d57c8d2533e518a02156f502b179e57b0/res/papp.ico -------------------------------------------------------------------------------- /res/papp.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /res/papp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/portapps/vscodium-portable/0e11ca9d57c8d2533e518a02156f502b179e57b0/res/papp.png -------------------------------------------------------------------------------- /res/run.iss: -------------------------------------------------------------------------------- 1 | [Run] 2 | Filename: {app}\{#pappId}.exe; Description: Run {#pappName}; Flags: nowait postinstall skipifsilent unchecked 3 | -------------------------------------------------------------------------------- /res/setup-mini.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/portapps/vscodium-portable/0e11ca9d57c8d2533e518a02156f502b179e57b0/res/setup-mini.bmp -------------------------------------------------------------------------------- /res/vscodium.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | setlocal 3 | 4 | set VSCODE_APPDATA=%~dp0data\appdata 5 | set VSCODE_LOGS=%~dp0data\logs 6 | set VSCODE_EXTENSIONS=%~dp0data\extensions 7 | 8 | set VSCODE_DEV= 9 | set ELECTRON_RUN_AS_NODE=1 10 | 11 | call "%~dp0app\VSCodium.exe" "%~dp0app\resources\app\out\cli.js" %* 12 | endlocal 13 | -------------------------------------------------------------------------------- /tools/tools.go: -------------------------------------------------------------------------------- 1 | //go:build tools 2 | // +build tools 3 | 4 | // Package tools tracks dependencies on binaries not referenced in this codebase. 5 | // https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module 6 | package tools 7 | 8 | import ( 9 | _ "github.com/portapps/portapps/v3/tools" 10 | ) 11 | --------------------------------------------------------------------------------