目前共有5篇帖子。 字体大小:较小 - 100% (默认)▼  内容转换:港澳繁體▼
 
点击 回复
28 4
【項目】electron-swapper
一派掌门 二十级
1楼 发表于:2025-4-27 13:56

該項目可以把已編譯好的不支持xp系統的electron軟件修改為支持xp系統的supermium-electron軟件。

https://github.com/KenCorma/electron-swapper

一派掌门 二十级
2楼 发表于:2025-4-27 14:07
 
一派掌门 二十级
3楼 发表于:2025-4-27 14:08

electron-swapper項目的logo:

 
一派掌门 二十级
4楼 发表于:2025-4-27 14:43

因為該項目的python腳本裏面有訪問https://github.com/https://raw.githubusercontent.com/,而這兩個網址在國內訪問很不穩定。如果遇到下面的報錯,說明是網絡問題,多試幾次就好了。

Traceback (most recent call last):
  File "swapper.py", line 192, in <module>
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 634, in http_response
  File "urllib\request.py", line 563, in error
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 429: Too Many Requests
[PYI-10772:ERROR] Failed to execute script 'swapper' due to unhandled exception!

 

Traceback (most recent call last):
  File "swapper.py", line 192, in <module>
  File "urllib\request.py", line 216, in urlopen
  File "urllib\request.py", line 519, in open
  File "urllib\request.py", line 536, in _open
  File "urllib\request.py", line 496, in _call_chain
  File "urllib\request.py", line 1391, in https_open
  File "urllib\request.py", line 1352, in do_open
  File "http\client.py", line 1374, in getresponse
  File "http\client.py", line 318, in begin
  File "http\client.py", line 287, in _read_status
http.client.RemoteDisconnected: Remote end closed connection without response
[PYI-9948:ERROR] Failed to execute script 'swapper' due to unhandled exception!

 

被轉換的exe的目錄下必須要有LICENSE.electron.txt和LICENSES.chromium.html這兩個文件。如果沒有,那麼必須用記事本新建空白的同名文件。
 
一派掌门 二十级
5楼 发表于:2025-4-27 14:56

D:\Downloads\vscode1.70.2\electron-swapper-v0.6.1>electron-swapper.exe "D:\Downloads\vscode1.70.2\Microsoft VS Code\Code.exe"
Path: D:\Downloads\vscode1.70.2\Microsoft VS Code\Code.exe
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
0.0.0
30.1.5
Target Version: 18.3.5 will be replaced with 30.1.5 x64. Is that Ok? y (yes) or n (no)y
Creating new shortcut
Dumping Receipt
Swap Complete

D:\Downloads\vscode1.70.2\electron-swapper-v0.6.1>

 

回复帖子

内容:
用户名: 您目前是匿名发表
验证码:
(快捷键:Ctrl+Enter)
 

本帖信息

点击数:28 回复数:4
评论数: ?
作者:巨大八爪鱼
最后回复:巨大八爪鱼
最后回复时间:2025-4-27 14:56
 
©2010-2025 Purasbar Ver2.0
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。