Move the shipped Lua plugins to the resources directory

On macOS, files in Contents/PlugIns/ need to be codesigned individually.
Since Lua plugins are not really binaries, per Apple's documentation
that is to be avoided (and we currently only sign executables there).

Just move Lua plugins generally to the resources directory, like we do
for other scripts like the debugger Python scripts, and load them from
there.

Change-Id: Idabd6b7c0c7c6e842b1752488cb7073f00e7be49
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Eike Ziller
2024-06-19 15:21:44 +02:00
parent 3f1906dc20
commit f5dde31558
27 changed files with 8 additions and 87 deletions

View File

@@ -0,0 +1,23 @@
-- Copyright (C) 2024 The Qt Company Ltd.
-- SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
return {
Name = "RustLanguageServer",
Version = "1.0.0",
CompatVersion = "1.0.0",
Vendor = "The Qt Company",
Category = "Language Client",
Description = "The Rust Language Server",
Experimental = false,
DisabledByDefault = false,
LongDescription = [[
This plugin provides the Rust Language Server.
It will try to install it if it is not found.
]],
Dependencies = {
{ Name = "Lua", Version = "14.0.0" },
{ Name = "LuaLanguageClient", Version = "14.0.0" }
},
setup = function()
require 'init'.setup()
end,
} --[[@as QtcPlugin]]