microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.22k stars 29.29k forks source link

Deleting itself #214738

Open appdevcanada opened 5 months ago

appdevcanada commented 5 months ago

Type: Bug

I just downloaded the latest available version for Apple M1 chipset (and the same happened to darwin and universal versions as well) and after extracting and setting the app inside Applications, I can open it and work, but if I try to update itself and restart it, it deletes itself from the folder and not even goes to trash. Then I need to redo all it again, even updating the extensions in case there's some to.

VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:10:13.496Z) OS version: Darwin arm64 23.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|3, 4, 3| |Memory (System)|8.00GB (0.07GB free)| |Process Argv|--crash-reporter-id ee7ee5ef-637e-421e-89f8-8e1cf4110bd8| |Screen Reader|no| |VM|0%|
Extensions (65) Extension|Author (truncated)|Version ---|---|--- simple-react-snippets|bur|1.2.8 npm-intellisense|chr|1.4.5 dart-code|Dar|3.90.0 flutter|Dar|3.90.0 vscode-eslint|dba|2.4.4 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|15.1.0 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.6.0 prettier-vscode|esb|10.4.0 font-switcher|eva|4.1.0 html-slim-scss-css-class-completion|gen|1.7.8 bootstrap5-snippets|Han|1.2.5 rest-client|hum|0.25.1 vscode-react-typescript|inf|1.3.1 kite|kit|0.147.0 ligatures-limited|ksh|1.4.0 eml|lei|0.4.0 google-fonts|lio|0.0.1 theme-monokai-pro-vscode|mon|1.3.2 vscode-autoprefixer|mrm|3.0.1 csdevkit|ms-|1.6.8 csharp|ms-|2.31.19 dotnet-maui|ms-|0.12.42 vscode-dotnet-runtime|ms-|2.0.5 vscodeintellicode-csharp|ms-|2.1.11 debugpy|ms-|2024.6.0 isort|ms-|2023.10.1 python|ms-|2024.8.0 vscode-pylance|ms-|2024.6.1 jupyter|ms-|2024.4.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.369.0 remote-ssh|ms-|0.110.1 remote-ssh-edit|ms-|0.86.0 vscode-remote-extensionpack|ms-|0.25.0 cpptools|ms-|1.20.5 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.1 vetur|oct|0.37.3 vscode-jest|Ort|6.2.5 java|red|1.31.0 LiveServer|rit|5.7.9 vs-code-prettier-eslint|rve|6.0.0 markdown-preview-enhanced|shd|0.8.13 autoimport|ste|1.5.4 tabnine-vscode|Tab|3.106.0 open-in-browser|tec|2.0.0 vscode-fontawesome-gallery|tom|0.0.7 pdf|tom|1.2.2 vscode-w3cvalidation|Umo|2.9.1 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-java-debug|vsc|0.57.0 vscode-java-dependency|vsc|0.23.6 vscode-java-pack|vsc|0.27.0 vscode-java-test|vsc|0.41.1 vscode-maven|vsc|0.44.0 vscode-icons|vsc|12.8.0 vscode-todo-highlight|way|1.0.5 vscode-import-cost|wix|3.3.0 JavaScriptSnippets|xab|1.8.0 (6 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyonecf:30548226 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelc:31048052 dsvsc021:30996838 jg8ic977:31013176 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 pythonprt:31056678 dwnewjupytercf:31046870 26j00206:31048877 ```
vscodenpa commented 5 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

appdevcanada commented 5 months ago

That's why you're a bot! Ok, I could download the real latest (1.90) and start using it, but since there's no update yet, let's see how far it goes...

autumn-skylight commented 5 months ago

That's why you're a bot! Ok, I could download the real latest (1.90) and start using it, but since there's no update yet, let's see how far it goes...

looks like 1.90 has just been released (at least for windows), so i would check for updates again

Sketchy2001 commented 3 months ago

Seeing the same behaviour, literally watched the application disappear as soon as it was manually closed.

Was previously placing the app outside the Applications directory (to avoid having to authenticate every update). Have bitten the bullet and placed in with Applications and has not deleted itself so far.

Apple M2 hardware

About VSCode... Version: 1.92.0 Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124 Date: 2024-07-31T23:26:45.634Z Electron: 30.1.2 ElectronBuildId: 9870757 Chromium: 124.0.6367.243 Node.js: 20.14.0 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.6.0

vs-code-engineering[bot] commented 2 weeks ago

Hey @deepak1556, this issue might need further attention.

@appdevcanada, you can help us out by closing this issue if the problem no longer exists, or adding more information.

appdevcanada commented 2 weeks ago

It remains the same, depending on the folder it's set/installed, it deletes itself when updating itself. I keep it outside the Applications folder (macOS 15.0.1 - M1). Running version: Image