mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-04-10 04:19:25 -07:00
Prepare Windows release and signing
# Conflicts: # package.json # Conflicts: # .github/workflows/release.yml # README.md # package.json # plugin/subminer/lifecycle.lua # scripts/build-yomitan.mjs # src/core/services/overlay-window.ts # src/main.ts # src/main/overlay-shortcuts-runtime.ts # src/main/runtime/overlay-shortcuts-runtime-main-deps.test.ts # src/main/runtime/overlay-shortcuts-runtime-main-deps.ts # src/window-trackers/base-tracker.ts
This commit is contained in:
@@ -22,4 +22,9 @@ if not package.path:find(module_patterns, 1, true) then
|
||||
package.path = module_patterns .. package.path
|
||||
end
|
||||
|
||||
require("init").init()
|
||||
local init_module = assert(loadfile(script_dir .. "/init.lua"))()
|
||||
if type(init_module) == "table" and type(init_module.init) == "function" then
|
||||
init_module.init()
|
||||
elseif type(init_module) == "function" then
|
||||
init_module()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user