summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-01 11:34:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-01 11:34:54 +0800
commit0ed4888b6c693dce25bb721f789356786a9ead40 (patch)
treeab5e04b7c90c7c9dbe6a338f6609beb1825fe2cf /make
parent1bec29bb5c68eb55c1f7cb8eea2168ec21dd6258 (diff)
downloadlua-language-server-0ed4888b6c693dce25bb721f789356786a9ead40.zip
icon
Diffstat (limited to 'make')
-rw-r--r--make/icon.icobin0 -> 147878 bytes
-rw-r--r--make/install.lua13
-rw-r--r--make/lua-language-server.rc2
3 files changed, 2 insertions, 13 deletions
diff --git a/make/icon.ico b/make/icon.ico
new file mode 100644
index 00000000..6722f87e
--- /dev/null
+++ b/make/icon.ico
Binary files differ
diff --git a/make/install.lua b/make/install.lua
index d5b26d7c..5f95e462 100644
--- a/make/install.lua
+++ b/make/install.lua
@@ -13,16 +13,3 @@ fs.create_directories(output)
fs.copy_file(bindir / 'lpeglabel'..dll, output / 'lpeglabel'..dll, true)
fs.copy_file(bindir / 'bee'..dll, output / 'bee'..dll, true)
fs.copy_file(bindir / 'lua'..exe, output / 'lua-language-server'..exe, true)
-
-if platform == 'msvc' then
- fs.copy_file(bindir / 'lua54'..dll, output / 'lua54'..dll, true)
- require 'msvc'.copy_crtdll('x64', output)
-
- local process = assert(sp.spawn {
- bindir / 'rcedit.exe',
- output / 'lua-language-server.exe',
- '--set-icon',
- CWD / 'icon.ico'
- })
- assert(process:wait())
-end
diff --git a/make/lua-language-server.rc b/make/lua-language-server.rc
new file mode 100644
index 00000000..dc260412
--- /dev/null
+++ b/make/lua-language-server.rc
@@ -0,0 +1,2 @@
+#include "Windows.h"
+10086 ICON "make/icon.ico"