@objectivex666/dsh-settings-search 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +3 -3
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -30,7 +30,7 @@ window.__ModuleLoader__.load({
|
|
|
30
30
|
|
|
31
31
|
const NS = 'settings-search-v5'
|
|
32
32
|
/** Single source of truth is package.json — scripts/check.mjs asserts this matches. */
|
|
33
|
-
const PKG_VERSION = '1.4.
|
|
33
|
+
const PKG_VERSION = '1.4.4'
|
|
34
34
|
const NPM_NAME = '@objectivex666/dsh-settings-search'
|
|
35
35
|
const zh = {
|
|
36
36
|
title: '设置',
|
|
@@ -541,7 +541,7 @@ window.__ModuleLoader__.load({
|
|
|
541
541
|
}
|
|
542
542
|
|
|
543
543
|
const copyCmd = async () => {
|
|
544
|
-
const cmd = `dsh plugin update ${NPM_NAME}`
|
|
544
|
+
const cmd = `dsh plugin --profile web update ${NPM_NAME}`
|
|
545
545
|
try { await navigator.clipboard.writeText(cmd); setCopied(true); setCopyFailed(false) } catch { setCopyFailed(true) }
|
|
546
546
|
}
|
|
547
547
|
|
|
@@ -552,7 +552,7 @@ window.__ModuleLoader__.load({
|
|
|
552
552
|
error: React.createElement('span', { className: 'sss-upd-val' }, t('updErr')),
|
|
553
553
|
outdated: latest === '' ? null : React.createElement('div', { style: { display: 'flex', flexDirection: 'column', gap: 8 } }, [
|
|
554
554
|
React.createElement('p', { className: 'sss-upd-note' }, t('updFound').replace('{ver}', `v${latest}`)),
|
|
555
|
-
React.createElement('code', { className: 'sss-cmd' }, `dsh plugin update ${NPM_NAME}`),
|
|
555
|
+
React.createElement('code', { className: 'sss-cmd' }, `dsh plugin --profile web update ${NPM_NAME}`),
|
|
556
556
|
React.createElement('div', null,
|
|
557
557
|
React.createElement('button', { className: 'sss-btn', type: 'button', onClick: () => { void copyCmd() } },
|
|
558
558
|
copied ? t('updCopied') : t('updCopy')),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectivex666/dsh-settings-search",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "DSH settings panel search plugin – instantly filter setting sections and general items with navigation guidance. Installable via `dsh plugin add`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|