Package Details: jlc-assistant-bin 5.0.69-28

Git Clone URL: https://aur.archlinux.org/jlc-assistant-bin.git (read-only, click to copy)
Package Base: jlc-assistant-bin
Description: 嘉立创下单助手:该应用为您下单提供便利,快速获取优惠及下单信息,无需在网站等待审核审单!在下单助手下单立享打折优惠!
Upstream URL: https://www.jlc.com/portal/appDownloadsWithConfig.html
Keywords: jlc pcb 下单小助手 嘉立创
Licenses: LicenseRef-custom
Conflicts: jlc-assistant
Provides: jlc-assistant
Replaces: jlc-assistant
Submitter: taotieren
Maintainer: taotieren (Misaka13514, kearneyBack, Canmi)
Last Packager: taotieren
Votes: 4
Popularity: 0.004857
First Submitted: 2022-11-29 15:43 (UTC)
Last Updated: 2026-09-14 12:34 (UTC)

Latest Comments

1 2 3 Next › Last »

Fixer commented on 2026-09-02 01:13 (UTC)

构建起来还是有点问题,由于依赖electron19会执行一次源码构建,遇到了奇奇怪怪的依赖问题,我这边是因为electron19的PKGBUILD依赖虚拟包名libjpeg,但我系统上没有这个包名的包,Arch仓库的libjpeg-turbo 3.2.0-2现在的provides只有libjpeg.so=8-64和libturbojpeg.so=0-64,也不提供libjpeg这个名字(验证:pacman -T libjpeg返回127未满足)。AUR里唯一提供libjpeg包的是mozjpeg(而且它还与libjpeg-turbo冲突),所以paru跑去构建它了。但是这个包的cmakelists里写cmake版本要求cmake_minimum_required(VERSION 2.8.12),然而arch滚动更新cmake到了4.4.3,据说cmake 4起移除了对3.5以下版本的支持,这里cmake就理所当然地失败了。 我建议优先去依赖electron19-bin,因为我如果执行paru -S jlc-assistant-bin electron19-bin就安装成功了。 功能方面,目前这个版本用起来确实是正常了,没有奇奇怪怪的窗口渲染问题了。

taotieren commented on 2026-09-02 01:12 (UTC)

@fengch 从 resources.pak 里面读取出来的版本就是 19 。你要是觉得版本低可以手动在 PKGBUILD 里面修改下你认为可以的版本号,再次本地编译后看看,运行有没有问题。

fengch commented on 2026-09-02 00:45 (UTC)

依赖 electron19 ? 你在开什么玩笑,先卸载了。。。。

taotieren commented on 2026-09-01 10:29 (UTC)

@Fixer @bczhc 重新解包后进行修复再打包,换了 electron 版本。再次试试看,有没有其他问题。

Fixer commented on 2026-09-01 08:49 (UTC)

出现了标题栏按钮不渲染的bug,而且只有主窗口有,登录窗口没有,具体原因不明,疑似是electron依赖的问题,因为从官网下载的版本是正常的(据说官网的版本是electron19)。但是官网版本会遇到GPU渲染神秘死锁的问题,跑着跑着风扇起飞,然后死机。问AI说是老版本electron调用gpu渲染死锁。

bczhc commented on 2026-07-06 10:36 (UTC) (edited on 2026-07-06 10:38 (UTC) by bczhc)

下单时的3D预览显示不出。右键控制台中显示Error: faild to initial webgl。用window.location.replace('https://webglreport.com')转到webglreport网站显示webgl1与webgl2均不支持。我原以为是bwrap的配置问题,但在宿主机上运行electron34访问webglreport也显示都不支持。electron36就都支持了,但下单助手只能用34。(我还是继续用浏览器吧:)

glxinfo | rg OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 610.43.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 610.43.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 610.43.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

更新:如果加上--use-gl=desktop的话就能预览了,但回退到软件渲染了所以挺卡。凑合用

taotieren commented on 2025-09-03 08:52 (UTC)

@fengch 这个修改有通过 devtools 环境的测试吗?

fengch commented on 2025-09-03 08:47 (UTC)

给一些修改建议

diff --git a/PKGBUILD b/PKGBUILD
index 7bbe481..b0fef57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ license=('LicenseRef-custom')
 provides=(${pkgname%-bin})
 conflicts=(${pkgname%-bin})
 replaces=(${pkgname%-bin})
-depends=(gtk3 nss libxss electron libappindicator-gtk3 libnotify)
+depends=(gtk3 nss libxss electron34 libappindicator-gtk3 libnotify)
 makedepends=()
 backup=()
 options=()
@@ -20,38 +20,37 @@ sha256sums=('d943ebf9ee328a657cd608bdf301f637ea48988b57adeae1ae770fae944caacd')
 noextract=()

 package() {
-    export LC_CTYPE="zh_CN.UTF-8"
-    install -dm0755 "${pkgdir}/usr/lib/${pkgname%-bin}/"
-
-    # electron file
-    install -dm0755 "${pkgdir}/usr/lib/${pkgname%-bin}/"
-    cd ${srcdir}/${pkgname%-bin}-linux-x64-${pkgver}/${pkgname%-bin}/
-    cp -r res ${pkgdir}/usr/lib/${pkgname%-bin}
-    cp -r resources ${pkgdir}/usr/lib/${pkgname%-bin}
-
-    # icon
-    local _icon
-    for _icon in 16 32 64 72 128 256 512; do
-        install -Dm0644 icon/png/${_icon}.png \
-            ${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname%-bin}.png
-    done
-
-    # desktop entry
-    install -Dm0644 ${pkgname%-bin}.dkt \
-        ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
-
-    sed -i 's|/opt/jlc-assistant/icon/png/128.png|jlc-assistant.png|g' \
-        ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
-    sed -i 's|/opt/jlc-assistant/||g' ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
-
-    # jlc-assistant file
-    install -Dm0755 /dev/stdin ${pkgdir}/usr/bin/${pkgname%-bin} <<EOF
-#!/bin/sh
-
-exec electron /usr/lib/jlc-assistant/resources/app.asar " \$@"
-EOF
-
-    # LICENSE
-    #     install -Dm0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE
+   export LC_CTYPE="zh_CN.UTF-8"
+   install -dm0755 "${pkgdir}/usr/lib/${pkgname%-bin}/"
+
+   # electron file
+   install -dm0755 "${pkgdir}/usr/lib/${pkgname%-bin}/"
+   cd ${srcdir}/${pkgname%-bin}-linux-x64-${pkgver}/${pkgname%-bin}/
+   cp -r res ${pkgdir}/usr/lib/${pkgname%-bin}
+   cp -r resources ${pkgdir}/usr/lib/${pkgname%-bin}
+
+   # icon
+   local _icon
+   for _icon in 16 32 64 72 128 256 512; do
+       install -Dm0644 icon/png/${_icon}.png \
+           ${pkgdir}/usr/share/icons/hicolor/${_icon}x${_icon}/apps/${pkgname%-bin}.png
+   done
+
+   # desktop entry
+   install -Dm0644 ${pkgname%-bin}.dkt \
+       ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
+
+   sed -i 's|/opt/jlc-assistant/icon/png/128.png|jlc-assistant.png|g' \
+       ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
+   sed -i 's|/opt/jlc-assistant/||g' ${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop
+
+   # jlc-assistant file
+   install -Dm0755 /dev/stdin ${pkgdir}/usr/bin/${pkgname%-bin} <<-EOF
+       #!/bin/sh
+       exec electron34 /usr/lib/jlc-assistant/resources/app.asar " \$@"
+       EOF
+
+   # LICENSE
+   #     install -Dm0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE

 }

taotieren commented on 2025-07-23 02:10 (UTC)

@grdgkjrpdihe 我给 JLC 那边开发团队反馈下,看下他们是更新修复还是 electron 固定版本

grdgkjrpdihe commented on 2025-07-21 16:13 (UTC)

@taotieren 但35以上会遇到 TypeError: Cannot set property navigator of #<Object> which has only a getter 问题