Commit Graph

180 Commits

Author SHA1 Message Date
João Moreno
f58990846d fix: frozen windows installations (#282201)
* fix: frozen windows installations

fixes #196344
related to #228233
Co-authored-by: CyMad <90966823+CyMad7001@users.noreply.github.com>

* Update build/win32/code.iss

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

---------

Co-authored-by: CyMad <90966823+CyMad7001@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 15:21:52 +00:00
Robo
4c5bfb172a feat: create versioned resources for windows setup (#263998)
* feat: create versioned resources for windows setup

* chore: use inno_updater to remove old installation

* chore: remove old installation as part of setup

* chore: update explorer-command

* chore: prefer session-end

* chore: uninst delete updating_version

* chore: make session-ending write synchronous

* chore: cleanup updateService.win32.ts

* chore: invoke inno_updater gc path for non background update

* chore: move session-end path to runtime

* chore: use commit for updating_version

* chore: fix invalid string

* chore: set appUpdate path

* chore: update inno_updater

* chore: empty commit for testing

* chore: some cleanups

1) Check for session-ending flag in appx and tunnel callsites
2) Move gc for background update to cleanup phase in updateservice
3) Set update state to ready when there is a running inno_setup

* chore: disallow same version update

* chore: disallow application launch in the middle of update

* chore: empty commit for testing

* chore: bump inno_updater

* chore: empty commit for testing

* chore: move gc to update startup

* chore: move feature behind insider only check

* chore: bump inno_updater

* chore: bump explorer-command

* fix: build

* fix: gc for background update in system setup

* chore: create separate cli entrypoints for build

* fix: check for setup mutex created by inno

* chore: remove problematic updatingVersionPath deletion

* chore: remove redundant update check

* chore: bump inno_updater

* chore: fix build

* chore: bump inno updater
2025-11-24 21:32:12 +09:00
Matt Bierner
2648263d3e Run our build scripts directly as typescript (#277567)
* Run our build scripts directly as typescript #277567

Follow up on #276864
For #277526

* Remove a few more ts-node references

* Fix linux and script reference

* Remove `_build-script` ref

* Fix script missing closing quote

* use type only import

* Fix export

* Make sure to run copy-policy-dto

* Make sure we run the copy-policy-dto script

* Enable `verbatimModuleSyntax`

* Pipelines fixes

* Try adding explicit ext to path

* Fix bad edit

* Revert extra `--`

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-11-21 14:56:00 +01:00
sinsincp
9b59d31df2 Fix AppUserModelID for code-workspace association (#272753) 2025-10-23 21:05:14 +09:00
Robo
fd10f9c207 chore: reduce any usage in build/ (#270109) 2025-10-06 22:56:36 +00:00
Matt Bierner
1174f9b951 Compile build scripts too 2025-10-02 23:46:45 -07:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Robo
3ac4cc7430 chore: bump inno_updater (#264005) 2025-08-29 14:03:23 +00:00
Robo
61f1c115ad fix: restore old style context menu on windows for stable (#260960) 2025-08-11 03:28:54 -07:00
Robo
73f08941a3 fix: remove unused appx package (#258741)
* fix: remove unused appx package

* fix: inno compilation

* chore: reduce the number of remove and add commands
2025-07-30 14:13:27 +02:00
Robo
c48e24145d fix: disable appx identity for system setup (#258275)
* fix: external location for appx package installation

* chore: revert external location
2025-07-28 17:33:51 +00:00
Robo
f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00
Robo
df5b80fc08 fix: check for appx package before (un)install (#256766) 2025-07-18 19:21:01 +00:00
João Moreno
114a8a811c inno_updater v0.15.0 (#247337) 2025-04-24 22:00:48 +02:00
João Moreno
33c84cc39d bump inno updater 0.14.2 (#246117) 2025-04-09 17:49:40 +02:00
João Moreno
3f902e2416 bump inno (#245426) 2025-04-04 23:48:24 +02:00
João Moreno
1a6fb8ba40 Fix inno updater signing issue (#244394)
* Reapply "bump inno_updater" (#244284)

This reverts commit dc289883be.

* hack

* hm

* consume inno unsigned

* 💄
2025-03-23 20:46:58 +01:00
Raymond Zhao
dc289883be Revert "bump inno_updater" (#244284)
Revert "bump inno_updater (#244238)"

This reverts commit 04d58f3d6f.
2025-03-21 20:22:40 +01:00
João Moreno
04d58f3d6f bump inno_updater (#244238) 2025-03-21 13:41:34 +01:00
João Moreno
0aa5ce7515 bump inno updater (#243364) 2025-03-12 08:47:18 -07:00
João Moreno
9d43b0751c remove svgz from default file types (#239180)
* remove svgz from default file types

fixes #231021

* push missing compilation
2025-01-31 10:49:12 +01:00
João Moreno
38f08a445a bump inno_updater (#239198)
fixes #239186
2025-01-30 12:02:48 +01:00
João Moreno
98ef4c3e7a fixes #222504 (#239179) 2025-01-30 10:15:12 +01:00
Aman Karmani
e76c50f20e build: switch build/tsconfig.json to module: nodenext (#238426)
* build/tsconfig: switch to module: nodenext for bun compat

* build: rewrite imports for nodenext compat

* build: re-generate
2025-01-22 20:12:39 +01:00
Sandeep Somavarapu
1e1b39df01 update inno updater (#234109) 2024-11-18 07:27:47 -08:00
João Moreno
56246f3244 force app shutdown on background updated, if necessary (#231390)
* force app shutdown on background updated, if necessary

* fix CloseApplications

* use force anyway
2024-10-30 12:49:03 -07:00
João Moreno
67464f3239 update inno-updater (#210762) 2024-04-19 09:37:00 -07:00
Matt Bierner
6403b4367b Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
Benjamin Christopher Simmonds
43d55cbf88 Localize Inno Updater (#205279)
* without translations

* Update messages.en.isl

* translations, hopefully correct encoding

* inno updater v0.11.0
2024-02-19 16:03:48 +01:00
João Moreno
85d3cd0eef do not create a double semi colon when adding to path (#202583)
* do not create a double semi colon when adding to path

fixes #202268

* parens

* bad signature

* hm
2024-01-17 16:54:23 +01:00
João Moreno
e469272e45 remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
João Moreno
9905225b1a Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
Matt Bierner
10d94ba0f3 Pick up latest TS nightly for building VS Code (#194631) 2023-10-02 19:40:35 +01:00
João Moreno
e3b46eeda5 fixes #192486 (#193684) 2023-09-21 15:12:20 +01:00
João Moreno
8ac8b0d6d5 update uninstalling phrasing (#192993) 2023-09-13 11:53:38 +01:00
João Moreno
ed1de9e0e9 fixes #187885 (#188502) 2023-07-21 17:08:05 +02:00
Connor Peet
cbb47129d3 cli: stop tunnel processes during update (#187738)
* untested wip

* make it work
2023-07-12 20:58:09 +02:00
João Moreno
0bebe30b75 update inno_updater (#187073) 2023-07-05 20:33:05 +02:00
ChaseKnowlden
b603fcf963 chore: update minimum installable version in inno setup (#175818)
* Drop support for windows versions prior to windows
10

* Prepare for windows 8 eol

* fix typo

* Revert "Prepare for windows 8 eol"

This reverts commit f65a7107280da4328014d4964ba432f3d7462de0.
2023-06-23 22:15:49 +09:00
João Moreno
636dbcff55 Revert "cli: fix error starting remote tunnels (#185701)" (#185731)
This reverts commit ffe64dab3c.
2023-06-21 09:30:30 +02:00
Connor Peet
ffe64dab3c cli: fix error starting remote tunnels (#185701)
* untested wip

* cli: fix error starting remote tunnels

Fixes #185585

Output was prefixed which prevented the lines from being split to detect the tunnel status.
2023-06-20 14:30:07 -07:00
Martin Aeschlimann
42fcfb8bfc innosetup to start/stop tunnel service (#180527)
* innosetup to start/stop tunnel service

* better messages for tunnel still running

* fix error

* more logs

* add '/log'

* update

* fix

* update

* add kill & timeout wait

* stop service in PrepareToInstall

* non-background: check for tunnel mutex when wizard starts

* polish tunnel mutex names, prompt if tunnel is still running
2023-05-19 11:07:43 +02:00
João Moreno
aac80c3f0a Adopt new distro format (#178689)
* Simplify distro

Also a ton of drive-by fixing around builds:
- simplified many oneliners
- fixed missing custom npm registry call setups
- remove unnecessary and duplicate work during builds
- many many fixes
2023-04-02 09:35:39 +02:00
JSJ
3e00dca41f Fixed OpenWithCodeContextMenu text (#173468)
* Fixed OpenWithCodeContextMenu text

Changed tab to space in OpenWithCodeContextMenu that caused the option to show "missplaced" in the context menu of Windows file explorer.

* Fix encoding
2023-02-21 16:43:21 +00:00
Johannes
58e979f39e Merge branch 'main' into joh/rewrite-privates 2022-11-14 11:56:16 +01:00
Ramón Corominas
c9f32595a6 Update messages.es.isl to add context menu hotkey (#166010)
* Update messages.es.isl

Add a hotkey to allow opening with Code from the context menu also in Spanish

* fix encoding

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-11-11 01:34:09 -08:00
Johannes
696c1cf199 build utils with source map to enable JS debug console 2022-11-10 15:05:47 +01:00
João Moreno
0a19bf0e8f fix inno setup build for non-insider qualities (#165143)
fixes #165142
2022-11-01 03:53:58 -07:00
Robo
bece5db818 chore: cleanup inno setup for context menu install (#164411) 2022-10-24 06:45:20 +02:00
Robo
ebea50afee feat: bundle sparse package to integrate with windows context menu (#151186)
* chore: bundle and sign explorer appx

* chore: bump vscode-explorer-command@3.0.1

* chore: explorer install/uninstall stage for appx

* chore: fix format for cmd exec

* chore: cmd file path needs triple quotes

* chore: update vscode-explorer-command@3.0.2

* chore: add reg key for new context menu title

* chore: update vscode-explorer-command@3.0.3

* fix: guard behind insider quality

* chore: fix merge conflict

* fix: type mismatch

* chore: restrict context menu related actions for win11

* refactor appx loading/unloading, revert inno updater

* update powershell

* chore: undo inno_updater changes

* fix: appx install script

* fix: perform install after update step

* fix: mv appx install to files section

* chore: additional fixes

- Remove old context menu entries when updating to newer version
- Remove context menu entry when reinstalling without menu action selected.

* chore: update vscode-explorer-command@3.0.4

- Fixes garbled title for system installation

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-10-21 20:17:30 +02:00