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:
@@ -1,6 +1,12 @@
|
||||
local M = {}
|
||||
local BOOTSTRAP_GUARD_KEY = "__subminer_plugin_bootstrapped"
|
||||
|
||||
function M.init()
|
||||
if rawget(_G, BOOTSTRAP_GUARD_KEY) == true then
|
||||
return
|
||||
end
|
||||
rawset(_G, BOOTSTRAP_GUARD_KEY, true)
|
||||
|
||||
local input = require("mp.input")
|
||||
local mp = require("mp")
|
||||
local msg = require("mp.msg")
|
||||
|
||||
Reference in New Issue
Block a user