rubickCenter/rubick

linux发行版本编译安装处理白屏问题

Ouverte

#310 ouverte le 24 nov. 2023

 (1 commentaire) (3 réactions) (0 personne assignée)HTML (568 forks)batch import
help wanted

Métriques du dépôt

Stars
 (5 026 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

操作方式:

  1. 拉取项目
  2. 设置环境变量,export PYTHON=/usr/bin/python2.7
  3. 调整node版本,nvm install 16,nvm use 16
  4. 安装依赖yarn
  5. 修改配置vue.config.js中第20行后添加webPreferences: { hardwareAcceleration: false },也就是节点electronBuilder添加新属性
  6. 编译yarn run electron:build
  7. 因为我的系统是manjaro,所以需要将deb包转换一下debtap build/rubick_4.2.0-beta.1_amd64.deb,一路回车即可
  8. 安装sudo pacman -U build/rubick_4.2.0-beta.1_amd64.deb

上述我的系统是manjaro,通过拉下源码后手动编译安装后就不再出现白屏的情况

1700813180892

1700813278864 code

Guide contributeur