SublimeText / NSIS

Sublime Text plugin for the Nullsoft Scriptable Install System
Apache License 2.0
40 stars 15 forks source link

st4 support? #43

Open kkzhang opened 7 months ago

kkzhang commented 7 months ago

i installed NSIS plugin via package control of sublime text 4, on status bar it hints "installation sucessfully", but indeed not. Nothing happend.

deathaxe commented 7 months ago

ST4 is fully supported.

This package provides syntax highlighting and a build-system configuration to compile open NSIS file.

This package does not start any activity without user request.

For completions, you probably want to install

kkzhang commented 7 months ago

ST4 is fully supported.

This package provides syntax highlighting and a build-system configuration to compile open NSIS file.

This package does not start any activity without user request.

For completions, you probably want to install

I tried many times, but can't make it installed by package control. Alternatively, clone repo to packages did the right job.

deathaxe commented 7 months ago

Was able to install it immediately on Win11 ST4168 and don't see reasons why it shouldn't.

Did installation just fail or is it not listed when calling Package Control: Install Packages?

Any error messages in ST's console?

kkzhang commented 7 months ago
Package Control: Error downloading channel. Secure channel error, server not providing SSL (errno 12157) during HTTP write phase of downloading https://packagecontrol.github.io/channel/channel_v4.json.
Package Control: pausing indexer
ignored packages updated to: ["NSIS"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Unable to download "NSIS":  Secure channel error, server not providing SSL (errno 12157) during HTTP write phase of downloading https://codeload.github.com/SublimeText/NSIS/zip/st3-2.11.0.

It looks like network failure, but i am not sure. The problem is although it fails, it still prompted that installation is successfully.

I change to another pc, install plugin by PackageControl, it works.

deathaxe commented 7 months ago

Error 12157 indicates problems with WinInet. A possible reason may be requested TLS version or cipher being disabled via Windows registry.

Github uses TLSv1.3 with cipher TLS_AES_128_GCM_SHA256.

kkzhang commented 7 months ago

i fixed it. Configure Internet Options - Advanced, check TLS1.2, then everything be ok. I may mistakenly modified it in the past.