diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..d54a460 Binary files /dev/null and b/.DS_Store differ diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 49a62bf..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,94 +0,0 @@ -name: 🐞 报告Bug点我 -description: 报告问题的模板 -labels: [pending triage] -body: - - type: checkboxes - id: checkboxes_validations - attributes: - label: 检查事项 - description: 请检查以下事项 - options: - - label: 已确保 InjectLib 更新到最新版本 - required: true - - label: 已确保软件版本为 InjectLib 支持范围 - required: true - - type: textarea - id: bug-description - attributes: - label: 描述问题 - description: | - 对错误内容的清晰简洁的描述,如:“测试发现 xxx 无法激活(版本为 vx.x.x)”。 - placeholder: Bug description - validations: - required: true - - type: textarea - id: reproduction - attributes: - label: 最小复现 - description: 需要[**最小复现**](https://stackoverflow.com/help/minimal-reproducible-example),否则问题可能会被关闭,恕不另行通知。 [**为什么以及如何?**](https://antfu.me/posts/why-reproductives-are-required) - placeholder: | - 打开上述软件,输入xxxx后,点击xxxx,软件发生闪退/崩溃。 - 许可证信息示例如下: - ``` - xxx - ``` - validations: - required: true - - type: checkboxes - id: checkboxes - attributes: - label: 系统情况 - description: 根据实际情况勾选以下内容 - options: - - label: SIP 开着还是关着? - - label: 是否为黑苹果(如果是黑苹果,请回答在下方标注为黑苹果的问题) - - label: 黑苹果是否amfi_getout_of_my_way开了?或者操作过amfi相关属性和amfi相关quirk? - - type: textarea - id: system-info - attributes: - label: 系统信息 - description: 描述你的系统信息 - render: Shell - placeholder: | - OS: macOS xxx - CPU: xxx - Memory: xx GB - validations: - required: true - - type: textarea - id: if-modify-nvram - attributes: - label: 是否修改了nvram的内核启动参数(黑苹果) - description: 如果你修改了nvram,请提供更多信息 - placeholder: | - 我使用了xxxx -v alc-layout-id=xx等 - - type: textarea - id: if-use-oc-patcher - attributes: - label: 是否使用了需要修改系统文件的工具(黑苹果) - description: 如果你使用了OpenCore LegecyPatcher等需要修改系统文件的工具,请提供更多信息 - placeholder: | - 我用了xxx,且关闭了xxx - - type: textarea - id: expected-behavior - attributes: - label: 期望行为 - description: 你期望的正确行为是什么? - placeholder: Expected behavior - validations: - required: true - - type: textarea - id: additional-info - attributes: - label: 额外信息 - description: 有什么额外的信息需要提供吗? - placeholder: | - 我已经尝试了xxx,但是没有效果 - 我还发现了xxx - - type: textarea - id: log - attributes: - label: Crash Log - description: 上传你的崩溃日志 - placeholder: | - 把文件拖拉进来即可上传 diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2bf1bca..0000000 --- a/.gitignore +++ /dev/null @@ -1,22 +0,0 @@ -.DS_Store -*.iml -.idea -.vscode -.ruby-lsp -IACPLHttpTransferClient -Diff*.py -tool/GiftGot.py -config_pd.json -tool/pd*.sh -tool/没脑子和不高兴 -tool/Parallels_原始人_起洞.command -tool/Gift* -__pycache__ -*.pyc -*.pyo -*.pyd -*.pyw -*.pyz -*.bak -*.db -cache \ No newline at end of file diff --git a/EmbyServer/Emby.Web.dll b/EmbyServer/Emby.Web.dll deleted file mode 100644 index 22fbdef..0000000 Binary files a/EmbyServer/Emby.Web.dll and /dev/null differ diff --git a/EmbyServer/embypremiere.js b/EmbyServer/embypremiere.js deleted file mode 100644 index 62648f2..0000000 --- a/EmbyServer/embypremiere.js +++ /dev/null @@ -1,312 +0,0 @@ -define([ - "exports", - "./../modules/viewmanager/baseview.js", - "./../modules/emby-elements/emby-input/emby-input.js", - "./../modules/emby-elements/emby-button/emby-button.js", - "./../modules/emby-elements/emby-collapse/emby-collapse.js", - "./../modules/common/globalize.js", - "./../modules/loading/loading.js", - "./../modules/registrationservices/registrationservices.js", - "./../modules/common/dialogs/confirm.js", - "./../modules/emby-apiclient/connectionmanager.js", -], function ( - _exports, - _baseview, - _embyInput, - _embyButton, - _embyCollapse, - _globalize, - _loading, - _registrationservices, - _confirm, - _connectionmanager -) { - function load(page) { - var apiClient; - _loading.default.show(), - (apiClient = ApiClient) - .getJSON(apiClient.getUrl("Plugins/SecurityInfo")) - .then(function (info) { - info.IsMBSupporter = true; - (page.querySelector(".txtSupporterKey").value = - info.SupporterKey || ""), - info.SupporterKey && !info.IsMBSupporter - ? (page - .querySelector(".txtSupporterKey") - .classList.add("invalidEntry"), - page.querySelector(".notSupporter").classList.remove("hide")) - : (page - .querySelector(".txtSupporterKey") - .classList.remove("invalidEntry"), - page.querySelector(".notSupporter").classList.add("hide")), - info.IsMBSupporter - ? (page - .querySelector(".supporterContainer") - .classList.add("hide"), - (function (key) { - key = "key=" + key + "&serverId=" + ApiClient.serverId(); - return new Promise((resolve) => - resolve({ - deviceStatus: 0, - planType: "超级会员", - subscriptions: [ - { - autoRenew: true, - store: "秋城落叶", - feature: "all", - planType: "超级会员", - expDate: "且会员资格永远不会失效", - }, - ], - }) - ); - })(info.SupporterKey).then(function (statusInfo) { - if (statusInfo) { - var statusLine, - indicator = page.querySelector( - ".status-indicator .listItemIcon" - ), - extendedPlans = page.querySelector(".extended-plans"); - switch ( - ((extendedPlans.innerHTML = _globalize.default.translate( - "MessagePremiereExtendedPlans", - '', - "" - )), - statusInfo.deviceStatus) - ) { - case 2: - (statusLine = _globalize.default.translate( - "MessagePremiereStatusOver", - statusInfo.planType - )), - indicator.classList.add("expiredBackground"), - indicator.classList.remove("nearExpiredBackground"), - (indicator.innerHTML = ""), - indicator.classList.add("autortl"), - extendedPlans.classList.remove("hide"); - break; - case 1: - (statusLine = _globalize.default.translate( - "MessagePremiereStatusClose", - statusInfo.planType - )), - indicator.classList.remove("expiredBackground"), - indicator.classList.add("nearExpiredBackground"), - (indicator.innerHTML = ""), - indicator.classList.add("autortl"), - extendedPlans.classList.remove("hide"); - break; - default: - (statusLine = _globalize.default.translate( - "MessagePremiereStatusGood", - statusInfo.planType - )), - indicator.classList.remove("expiredBackground"), - indicator.classList.remove("nearExpiredBackground"), - (indicator.innerHTML = ""), - indicator.classList.remove("autortl"), - extendedPlans.classList.add("hide"); - } - page.querySelector(".premiere-status").innerHTML = - statusLine; - var subsElement = page.querySelector(".premiere-subs"); - statusInfo.subscriptions && - 0 < statusInfo.subscriptions.length - ? ((page.querySelector( - ".premiere-subs-content" - ).innerHTML = - ((subs = statusInfo.subscriptions), - (key = info.SupporterKey), - subs.map(function (item) { - var itemHtml = "", - makeLink = - item.autoRenew && "Stripe" === item.store, - tagName = makeLink ? "button" : "div"; - return ( - itemHtml + - (("button" == tagName - ? '