Skip to content

Commit e7b903e

Browse files
author
Carlos Noguera
committed
Grab release from github (#22)
Fixes issue 22 - #22
1 parent a1005d6 commit e7b903e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lsp-mssql.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
:type 'number)
4747

4848
(defconst lsp-mssql-server-download-url
49-
"https://download.microsoft.com/download/c/2/f/c9857f58-e569-4677-ad24-f180e83a8252/microsoft.sqltools.servicelayer-%s")
49+
"https://github.com/microsoft/sqltoolsservice/releases/download/5.0.20250910.2/Microsoft.SqlTools.ServiceLayer-%s")
5050

5151
(defconst lsp-mssql-executable-files
5252
'("MicrosoftSqlToolsServiceLayer.exe" "MicrosoftSqlToolsServiceLayer" "MicrosoftSqlToolsServiceLayer.dll"))
@@ -111,9 +111,9 @@ Will not do anything should the file exist already."
111111
"Download mssql server.
112112
Uses `powershell' on windows and `tar' on Linux to extract the server binary."
113113
(interactive)
114-
(let* ((result (cond ((eq system-type 'darwin) "osx-x64-netcoreapp2.2.tar.gz")
115-
((eq system-type 'gnu/linux) "rhel-x64-netcoreapp2.2.tar.gz")
116-
((eq system-type 'windows-nt) "win-x64-netcoreapp2.2.zip")
114+
(let* ((result (cond ((eq system-type 'darwin) "osx-arm64-net8.0.tar.gz")
115+
((eq system-type 'gnu/linux) "linux-x64-net8.0.tar.gz")
116+
((eq system-type 'windows-nt) "win-x64-net8.0.zip")
117117
(t (error (format "Unsupported system: %s" system-type)))))
118118
(download-location (f-join temporary-file-directory result))
119119
(url (format lsp-mssql-server-download-url result)))

0 commit comments

Comments
 (0)