dsh-gufa-code 1.3.52 → 1.3.53
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/client.js +1 -1
- package/desktop/float/bin/gufa-float-macos-arm64 +0 -0
- package/desktop/float/bin/gufa-float-macos-universal +0 -0
- package/desktop/float/bin/gufa-float-macos-x64 +0 -0
- package/desktop/float//345/217/244/346/263/225/347/274/226/347/250/213/346/202/254/346/265/256/345/261/202.app/Contents/Info.plist +2 -2
- package/desktop/float//345/217/244/346/263/225/347/274/226/347/250/213/346/202/254/346/265/256/345/261/202.app/Contents/MacOS/gufa-float +0 -0
- package/host/dev.js +8 -1
- package/package.json +1 -1
package/client.js
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<key>CFBundleDisplayName</key><string>古法编程悬浮层</string>
|
|
8
8
|
<key>CFBundleExecutable</key><string>gufa-float</string>
|
|
9
9
|
<key>CFBundlePackageType</key><string>APPL</string>
|
|
10
|
-
<key>CFBundleShortVersionString</key><string>1.3.
|
|
11
|
-
<key>CFBundleVersion</key><string>1.3.
|
|
10
|
+
<key>CFBundleShortVersionString</key><string>1.3.53</string>
|
|
11
|
+
<key>CFBundleVersion</key><string>1.3.53</string>
|
|
12
12
|
<key>LSUIElement</key><true/>
|
|
13
13
|
<key>NSHighResolutionCapable</key><true/>
|
|
14
14
|
<key>NSPrincipalClass</key><string>NSApplication</string>
|
|
Binary file
|
package/host/dev.js
CHANGED
|
@@ -655,7 +655,14 @@ export function register(router, env) {
|
|
|
655
655
|
floatState.controlPath = controlPath
|
|
656
656
|
const binary = floatBinaryPath()
|
|
657
657
|
if (binary === null) throw new ApiError('missing-helper', '悬浮层程序未构建', 500)
|
|
658
|
-
|
|
658
|
+
/* Windows 下 argv 里带引号的 JSON 在极少数启动器/杀软注入场景可能被改写;
|
|
659
|
+
同时通过环境变量传一份 payload,helper 会优先用能解析的那一份(Windows helper 支持 env 兜底)。 */
|
|
660
|
+
const child = spawn(binary, [payload], {
|
|
661
|
+
detached: true,
|
|
662
|
+
stdio: 'ignore',
|
|
663
|
+
windowsHide: false,
|
|
664
|
+
env: { ...process.env, GUFA_FLOAT_PAYLOAD: payload },
|
|
665
|
+
})
|
|
659
666
|
child.unref()
|
|
660
667
|
floatState.child = child
|
|
661
668
|
floatState.startedAt = Date.now()
|
package/package.json
CHANGED