Comments (10)
有没有一种可能MacOS上是不支持Qt的,需要用到Object-C?(我啥也不知道
乱讲
from mcsl2.
如果测试环境没问题,那就是打包流程的问题,我已经发现的如下:
- macOS 目前没有任何 32 位环境受支持,已发布的 32 位和 64 位的包事实上也都是 64 位 intel
- 缺失 Apple Silicon 支持
- 可执行文件甚至没有可执行权限
- 打包后的 App 不符合 App Bundle 的结构
from mcsl2.
- 那就可以直接删掉32位mac支持了(
- Apple Silicon还是得后期多适配,还得考虑兼容性/转译性能(可能) 的问题
- 既然问题大概率出现在打包,我就得找一些更懂Nuitka打包的人了
from mcsl2.
- 根据我的测试(
file MCSL2
),目前 Action 打包出来的所有所谓 32 位包实际都是 64 位的 - 根据我的本机(Apple Silicon)打包结果,显然 nuitka 没有正确处理 bundle 目录结构,与 release 里面的包一致。而根据
nuitka3 —help
,它对 Mac App 的支持是实验性的。 - nuitka 的打包结果架构默认取决于 python 架构
- 额外的,即使是手动运行 macOS 下 dist 目录的二进制,也会报错 segment fault 无法启动
from mcsl2.
也就是说Nuitka无法正常打包macOS版本吧(
from mcsl2.
也就是说Nuitka无法正常打包macOS版本吧(
我现在马上找人问
from mcsl2.
把GH Actions有关的代码放在这里:
- name: Build Executable on macOS
if: runner.os == 'macOS'
run: >
python -m nuitka
--standalone
--enable-plugin=pyqt5
--onefile
--output-dir=build
--assume-yes-for-download
--disable-console
--macos-app-mode=gui
--macos-app-icon=MCSL2.ico
--company-name="LxHTT"
--product-name="MCSL 2"
--file-version=2.0.0
--macos-app-version=2.0.0
--file-description="MC Server Launcher 2"
--macos-create-app-bundle
MCSL2.py
from mcsl2.
需要人手测试最新Release的macOS版本能否运行!
from mcsl2.
仍然无法工作。
from mcsl2.
由于插件系统的限制,macOS不会提供打包,需要手动下载源代码运行。
from mcsl2.
Related Issues (20)
- BUG | Linux版MCSL2打包缺少文件导致无法启动 HOT 2
- BUG|由于编码错误导致无法读取文件 HOT 1
- BUG | 控制台出现错误 HOT 1
- BUG | 服务器管理页多次生成`CardWidget` HOT 1
- BUG | Invalid argument to sipBadCatcherResult() HOT 1
- BUG | 在线玩家列表Bug HOT 2
- BUG|切换深色/浅色模式时服务器窗口未实时响应所有更改导致视觉错误 HOT 1
- BUG | 终端重复 HOT 1
- BUG | 2.2.3.5出现在线人数列表问题 HOT 2
- BUG | Stretched User Interface HOT 1
- BUG | 编辑配置文件无法保存 HOT 12
- BUG | 消息重复 HOT 5
- BUG | 没有修复的在线人数列表问题
- BUG | BungeeCord服务端无法正常输入命令 HOT 2
- feature: 。 HOT 4
- BUG | 2.2.3.1更新→2.2.4.1失败 HOT 3
- BUG | Forge服务器安装错误 HOT 3
- BUG | 卡爆 HOT 5
- BUG | 生成启动脚本时缺少 "\" HOT 3
- BUG | 服务器名称更改导致无法启动 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcsl2.