4 Commits

Author SHA1 Message Date
Noritaka Kobayashi
9e568ac36b chore: fix typos (#8929) 2025-08-05 11:22:04 +08:00
Ryan Willis
e9b75c02bc feat: allow choosing install dir with NSIS - [INS-5109] (#8456)
* feat: allow choosing install dir with NSIS

* inject file

* write file to package

* read nsis flag file

* add publish config

* add publish config

* comment wrapper

* nsis auto-update

* auto update

* update

* fix nsh

* update nsh script

* update config

* fix: lint error

* fix lint

* fix: can not read or write file

* fix: did not generate app-update.yml

* use different wrapper logic

* modify comment

* fix: simplify code

* feat: add version into origin exe name

---------

Co-authored-by: Curry Yang <1019yanglu@gmail.com>
2025-06-23 16:31:13 +08:00
Ryan Willis
8453c42ec6 fix: secure wrapper when paths contain utf-16 characters (#8539)
* fix wrapper

* doc: add notes and build instructions for the wrapper

* wrap application name when calling CreateProcessW

* make executable squirrel-aware

* quote paths if they contain a space

* fix quoted shortcuts

* Update packages/insomnia/src/cpp/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-31 19:07:50 +02:00
Ryan Willis
05d15b4abf securely wrap execution (#8451)
* test using a wrapper that sets security context before invoking the main application

* add build step to pr ci

* try with diff ver string

* statically link the standard libraries for portability

* more static linking

* prior version string

* remove pr substring from version

* try using a different version string
2025-03-25 08:57:53 -07:00